Chat Data Trigger
AI-generatedOverview
This node is a trigger for workflows based on Chat Data events. It listens for incoming webhook events related to chatbots, such as lead submissions, live chat escalations, or new chat messages, and triggers the workflow when such events occur. This node is useful for automating responses or processing data from chatbot interactions in real-time.
Use Case Examples
- Trigger a workflow when a new message is received from a chatbot to analyze the message content.
- Start a workflow on lead submission events to process and store lead information automatically.
- React to live chat escalation events to notify support teams or log escalation details.
Output
JSON
messages- Array or object containing chat messages data from the eventanswer- Answer data related to the chat event, possibly parsed from JSON stringlead- Lead information associated with the event, parsed if originally a stringevent- Type of chat event triggering the webhook (e.g., lead-submission, live-chat-escalation, chat)chatbotId- Identifier of the chatbot related to the event
Dependencies
- Requires an API key credential for the Chat Data API to register and manage webhooks.
Troubleshooting
- Ensure the API key and base URL in the credentials are correctly configured; missing or incorrect values will cause errors.
- Webhook registration may fail if the event type or chatbot ID is invalid or missing.
- Parsing errors may occur if the incoming webhook payload contains malformed JSON strings in fields like messages, answer, or lead.