Actions26
- Contact Actions
- Conversation Actions
- Statistic Actions
- Variable Actions
Contact → Create Contact
AI-generatedSummary
Creates a new contact in an Epic AI chatbot by POSTing the provided JSON body to the ChatCaptain contacts endpoint.
Inputs
- Chatbot ID (required) — The ID of the chatbot
- Body (JSON) — The request body as JSON
Output shape
Array of items, each with json containing the API response object.
Returns the parsed API response, typically the created contact object, or
{ "success": true }if the API response is empty.
Examples
Example 1: workflow
Creates a contact in the specified Epic AI chatbot by sending a POST request to the ChatCaptain API endpoint https://api.chatcaptain.com/v1/chatbots/{chatbotId}/contacts. It requires the Epic AI API credential and the Chatbot ID parameter. The Body (JSON) parameter supplies the contact data as a JSON object; the default template includes fields such as name, language, email, phoneNumber, whatsappId, webId, instagramId, facebookId, telegramId, providerId, and avatar. This field can use expressions to populate from incoming workflow data. The body is only sent if it parses to a non-empty JSON object; invalid JSON is silently ignored. The node returns the API response as the output item's JSON, or { "success": true } if the response is empty.