MegaAPI icon

MegaAPI

Interact with MegaAPI WhatsApp service

Chatwoot → Create Conversation

AI-generated

Overview

This node operation creates a new conversation in Chatwoot for a specified contact. It is useful for automating the initiation of customer support or engagement conversations within the Chatwoot platform, based on contact and inbox details. For example, it can be used to programmatically start a conversation when a new customer inquiry is received or when integrating Chatwoot with other messaging services.

Use Case Examples

  1. Automatically create a Chatwoot conversation when a new lead is added to a CRM.
  2. Start a conversation in Chatwoot for a contact after receiving a message from WhatsApp via MegaAPI integration.

Properties

Name Meaning
Chatwoot Account ID The Chatwoot account ID where the conversation will be created.
Chatwoot Inbox ID The Chatwoot inbox ID where the conversation will be created.
Contact ID The ID of the contact for whom the conversation will be created.

Output

JSON

  • conversation
    • id - The unique identifier of the created conversation in Chatwoot.
    • status - The status of the created conversation.
    • meta - Additional metadata related to the conversation.

Dependencies

  • Chatwoot API access with appropriate credentials to authenticate and authorize the creation of conversations.

Troubleshooting

  • Ensure that the Chatwoot Account ID, Inbox ID, and Contact ID are correctly provided and correspond to existing entities in Chatwoot.
  • Common errors include authentication failures due to invalid or missing API credentials, which can be resolved by verifying the API key or token used.
  • If the conversation creation fails, check the network connectivity and Chatwoot API status to ensure the service is reachable.

Discussion