n8n

Trigger n8n Workflow

Starts an n8n workflow with the customer's details and request.

Unverified

What the model is told

Start a n8n workflow when the customer needs something that the workflow handles, such as a callback, a refund request or a hand-off to another team. Confirm the customer's name, contact details and what they need before calling. Do not make up values; use 'none' for a reference the customer did not give. The response depends on how the workflow is built, so only tell the customer the request has been sent unless the response says more.

Request

POSThttps://YOUR_N8N_HOST/webhook/YOUR_N8N_WEBHOOK_PATH

Headers

  • Content-Typeapplication/json
  • YOUR_N8N_AUTH_HEADER_NAMEYOUR_N8N_AUTH_HEADER_VALUE

Body

{
  "action": "{{action}}",
  "reference": "{{reference}}",
  "customerName": "{{customerName}}",
  "customerEmail": "{{customerEmail}}",
  "customerPhone": "{{customerPhone}}",
  "details": "{{details}}"
}

Parameters

  • action stringShort label for what the customer wants, so the workflow can route it.
  • reference stringOrder, ticket or booking reference the customer gave, or 'none' if they gave none.
  • customerName stringThe customer's full name.
  • customerEmail stringThe customer's email address.
  • customerPhone stringThe customer's phone number in international format.
  • details stringA short summary of what the customer said or needs.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "7d4e5a5d-40aa-4b7f-9eab-9cb2f153b943",
    "type": "HTTP_REQUEST",
    "label": "Trigger n8n Workflow",
    "name": "trigger_n8n_workflow",
    "customName": false,
    "description": "Start a n8n workflow when the customer needs something that the workflow handles, such as a callback, a refund request or a hand-off to another team. Confirm the customer's name, contact details and what they need before calling. Do not make up values; use 'none' for a reference the customer did not give. The response depends on how the workflow is built, so only tell the customer the request has been sent unless the response says more.",
    "parameters": [
      {
        "name": "action",
        "type": "string",
        "description": "Short label for what the customer wants, so the workflow can route it."
      },
      {
        "name": "reference",
        "type": "string",
        "description": "Order, ticket or booking reference the customer gave, or 'none' if they gave none."
      },
      {
        "name": "customerName",
        "type": "string",
        "description": "The customer's full name."
      },
      {
        "name": "customerEmail",
        "type": "string",
        "description": "The customer's email address."
      },
      {
        "name": "customerPhone",
        "type": "string",
        "description": "The customer's phone number in international format."
      },
      {
        "name": "details",
        "type": "string",
        "description": "A short summary of what the customer said or needs."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://YOUR_N8N_HOST/webhook/YOUR_N8N_WEBHOOK_PATH"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "YOUR_N8N_AUTH_HEADER_NAME",
          "value": "YOUR_N8N_AUTH_HEADER_VALUE"
        }
      ],
      "body": "{\n  \"action\": \"{{action}}\",\n  \"reference\": \"{{reference}}\",\n  \"customerName\": \"{{customerName}}\",\n  \"customerEmail\": \"{{customerEmail}}\",\n  \"customerPhone\": \"{{customerPhone}}\",\n  \"details\": \"{{details}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.