Intercom

Create Intercom Conversation

Starts a new conversation in Intercom on behalf of an existing contact.

Unverified

What the model is told

Start a new Intercom conversation on behalf of the customer, using the email address they have given. The email must belong to an existing Intercom user. Confirm their email and message first. The response is the created message and its conversation_id field is the conversation ID. Tell the customer their message has been logged.

Request

POSThttps://api.intercom.io/conversations

Headers

  • Content-Typeapplication/json
  • AuthorizationBearer YOUR_INTERCOM_ACCESS_TOKEN
  • Intercom-Version2.17

Body

{
  "from": {
    "type": "user",
    "email": "{{email}}"
  },
  "body": "{{message}}"
}

Parameters

  • email stringThe customer's email address, matching an existing Intercom user.
  • message stringThe customer's message, as plain text.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "a205912a-1a50-410c-947e-b6ac0894c126",
    "type": "HTTP_REQUEST",
    "label": "Create Intercom Conversation",
    "name": "create_intercom_conversation",
    "customName": false,
    "description": "Start a new Intercom conversation on behalf of the customer, using the email address they have given. The email must belong to an existing Intercom user. Confirm their email and message first. The response is the created message and its conversation_id field is the conversation ID. Tell the customer their message has been logged.",
    "parameters": [
      {
        "name": "email",
        "type": "string",
        "description": "The customer's email address, matching an existing Intercom user."
      },
      {
        "name": "message",
        "type": "string",
        "description": "The customer's message, as plain text."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.intercom.io/conversations"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer YOUR_INTERCOM_ACCESS_TOKEN"
        },
        {
          "name": "Intercom-Version",
          "value": "2.17"
        }
      ],
      "body": "{\n  \"from\": {\n    \"type\": \"user\",\n    \"email\": \"{{email}}\"\n  },\n  \"body\": \"{{message}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.