Actions22
- Broadcasts Actions
- Embeddings Actions
- Contacts Actions
- Conversations Actions
- Tags Actions
Overview
This node operation sends an interactive order details message to a specified conversation within the Cogfy Messenger platform. It is useful for scenarios where you want to provide detailed order information interactively inside a chat, such as confirming purchase details, showing payment options, or summarizing an order before finalization.
Practical examples include:
- Sending customers a summary of their shopping cart with pricing breakdowns.
- Providing payment instructions with dynamic QR codes.
- Displaying order expiration and itemized costs interactively in a messaging conversation.
Properties
| Name | Meaning |
|---|---|
| Conversation Id | The unique identifier of the conversation where the interactive order details message will be sent. |
| Content | A JSON object defining the interactive message content, including order details, payment settings, totals, and itemized amounts. This includes nested fields such as payment parameters (e.g., dynamic payment codes), total amount, order expiration, items with amounts and sale amounts, subtotal, tax, shipping, and discount. |
Output
The node outputs JSON data representing the response from the Cogfy Messenger API after sending the interactive order details message. This typically includes confirmation of message delivery status and any metadata returned by the API.
If binary data were involved (not indicated here), it would represent media or attachments sent along with the message, but this operation focuses on JSON structured message content only.
Dependencies
- Requires an active connection to the Cogfy Messenger API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for the API must be set in the node's credential configuration.
Troubleshooting
- Invalid Conversation Id: If the conversation ID is incorrect or does not exist, the API will likely return an error indicating the conversation was not found. Verify the conversation ID before sending.
- Malformed Content JSON: Since the content property expects a valid JSON structure, ensure that the JSON is correctly formatted and all required fields are present. Parsing errors will prevent the message from being sent.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Confirm that the API key/token is correctly configured in n8n.
- API Rate Limits or Downtime: If the API service is unavailable or rate limits are exceeded, messages may fail to send. Retry after some time or check API status.
Links and References
- Cogfy Messenger API Documentation (hypothetical link)
- n8n Documentation on Creating Custom Nodes
- JSON Schema Reference for Interactive Order Messages (refer to your API provider's schema documentation)