n8n

Send Message to n8n Workflow

Passes a customer message and reference to an n8n workflow.

Unverified

What the model is told

Pass the customer's message and a reference to a n8n workflow. Use it when the customer asks for something that needs follow-up by the workflow's owner. Confirm the message with the customer first. Use 'none' if there is no reference. Only tell the customer the message has been passed on 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

{
  "reference": "{{reference}}",
  "message": "{{message}}"
}

Parameters

  • reference stringOrder, ticket or booking reference the customer gave, or 'none'.
  • message stringThe customer's message or request, in their own words where possible.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "31d4d387-80e7-4928-93da-e67ec758df19",
    "type": "HTTP_REQUEST",
    "label": "Send Message to n8n Workflow",
    "name": "send_message_to_n8n_workflow",
    "customName": false,
    "description": "Pass the customer's message and a reference to a n8n workflow. Use it when the customer asks for something that needs follow-up by the workflow's owner. Confirm the message with the customer first. Use 'none' if there is no reference. Only tell the customer the message has been passed on unless the response says more.",
    "parameters": [
      {
        "name": "reference",
        "type": "string",
        "description": "Order, ticket or booking reference the customer gave, or 'none'."
      },
      {
        "name": "message",
        "type": "string",
        "description": "The customer's message or request, in their own words where possible."
      }
    ],
    "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  \"reference\": \"{{reference}}\",\n  \"message\": \"{{message}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.