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

# n8n

> Connect Enginy to n8n today using the HTTP Request and Webhook nodes — no community node required

<Note>
  Enginy doesn't have a dedicated n8n node yet — one is planned. Until then, n8n's built-in **HTTP Request**
  and **Webhook** nodes cover the full integration: call any Enginy API endpoint from a workflow, and start
  workflows from Enginy events.
</Note>

## What you need

* An Enginy API key from the [API Dashboard](https://app.enginy.ai/api-access) (sent as the `x-api-key` header).
* Any n8n setup — cloud or self-hosted. Both nodes are core nodes, available on every plan.

## Call the Enginy API from a workflow

<Steps>
  <Step title="Create a Header Auth credential">
    Add an **HTTP Request** node and under **Authentication** choose **Generic Credential Type →
    Header Auth**. Create a credential with **Name** `x-api-key` and your API key as the
    **Value** — you configure it once and reuse it in every Enginy request.
  </Step>

  <Step title="Configure the request">
    Set the URL to the endpoint you need, e.g. `https://openapi.enginy.ai/v1/contacts`, pick the
    method, and add a JSON body for writes. Browse the
    [API reference](/api-reference/introduction) for endpoints and payloads.
  </Step>

  <Step title="Or import a cURL command">
    The HTTP Request node has an **Import cURL** button — paste any example request from these
    docs and n8n fills in the node configuration for you:

    ```bash theme={null}
    curl https://openapi.enginy.ai/v1/contacts \
      -H "x-api-key: gsk_your_api_key_here" \
      -H "Content-Type: application/json"
    ```
  </Step>
</Steps>

## Start workflows from Enginy events

Enginy [webhooks](/api-reference/webhooks-guide) can push campaign events (replies, accepted connection requests, and more) into n8n.

<Steps>
  <Step title="Add a Webhook node">
    Start your workflow with n8n's **Webhook** node using the **POST** method, and copy its URL (use the test
    URL while building, the production URL once activated).
  </Step>

  <Step title="Subscribe Enginy to that URL">
    In the [API Dashboard](https://app.enginy.ai/api-access) (or via the [webhooks
    API](/api-reference/webhooks-guide)), create a webhook subscription with the node's URL and the events you
    care about — for example `MESSAGE_REPLIED`.
  </Step>

  <Step title="Send a test event">
    Use the webhook test endpoint from the [webhooks guide](/api-reference/webhooks-guide) to send a sample
    payload, then build the rest of the workflow from the captured data.
  </Step>
</Steps>

## Next steps

<CardGroup cols={2}>
  <Card title="Webhooks guide" icon="webhook" href="/api-reference/webhooks-guide">
    Event types, payloads, and how to test subscriptions
  </Card>

  <Card title="API Reference" icon="terminal" href="/api-reference/introduction">
    All endpoints you can call from your workflows
  </Card>
</CardGroup>
