Epic AI icon

Epic AI

Interact with the Epic AI (ChatCaptain) API

Conversation → Trigger Custom Event

AI-generated

Summary

Trigger a custom event in a conversation

Inputs

  • chatbotId (required) — The ID of the chatbot
  • conversationId — The ID of the conversation
  • bodyTriggerEvent — The request body as JSON (default triggers a custom event named custom_event_name)

Output shape

array of items (JSON response objects from the API)

Responses are parsed JSON or raw string; empty response is treated as success; HTTP errors are thrown as n8n errors

Examples

Example 1: Trigger a custom event to notify a conversation

chatbotId = "12345", conversationId = "conv_6789", bodyTriggerEvent = {"event":"notification"}

Example 2: Trigger default custom event with no body

chatbotId = "abc", conversationId = "def", bodyTriggerEvent = {"event":"custom_event_name"}

Links

Discussion