> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ecomail.cz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get automation action detail

> Retrieve detail of a specific action (node) within a given automation.

<ParamField path="id" type="integer" required>
  Automation ID.
</ParamField>

<ParamField path="actionId" type="string" required>
  Action ID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api2.ecomailapp.cz/pipelines/42/actions/abc-123" \
    -H "key: YOUR_API_KEY" \
    -H "Content-Type: application/json"
  ```

  ```php PHP theme={null}
  $pipelineId = 42;
  $actionId = 'abc-123';
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, "https://api2.ecomailapp.cz/pipelines/{$pipelineId}/actions/{$actionId}");
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_HTTPHEADER, [
      'key: YOUR_API_KEY',
      'Content-Type: application/json',
  ]);
  $response = curl_exec($ch);
  curl_close($ch);
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "id": "abc-123",
      "type": "mail",
      "properties": {
        "name": "Welcome email",
        "template": 42
      }
    }
  }
  ```

  ```json 404 theme={null}
  {
    "message": "Action not found"
  }
  ```
</ResponseExample>

### Action types

| Type          | Description                       |
| ------------- | --------------------------------- |
| `mail`        | Send an email.                    |
| `sms`         | Send an SMS.                      |
| `wait`        | Wait for a specified duration.    |
| `check`       | Conditional branch (if/else).     |
| `split`       | A/B split test.                   |
| `tag`         | Add a tag to the subscriber.      |
| `untag`       | Remove a tag from the subscriber. |
| `subscribe`   | Subscribe to a list.              |
| `unsubscribe` | Unsubscribe from a list.          |
| `edit`        | Edit subscriber fields.           |
| `webhook`     | Send a webhook.                   |
| `trigger`     | Trigger another automation.       |
| `goal`        | Goal (wait for condition).        |
| `end`         | End of automation.                |
| `note`        | Internal note.                    |
