Reply to Conversation
AI-generatedOverview
This node operation allows users to reply to an existing conversation with a Lerty AI agent. It is useful in scenarios where an automated or manual response needs to be sent within an ongoing conversation thread, such as customer support chatbots or interactive AI agents. For example, a user can reply to a customer's query in a conversation by sending a message through this node.
Use Case Examples
- Replying to a customer support conversation with a helpful message.
- Sending follow-up information in an ongoing chat with an AI agent.
Properties
| Name | Meaning |
|---|---|
| Agent | The Lerty AI agent to which the reply will be sent. It can be selected from a list or specified by ID. |
| Conversation ID | The unique identifier of the conversation to which the reply is sent. This is required to target the correct conversation. |
| Message | The content of the message to send as a reply in the conversation. |
| Additional Fields | Optional additional parameters such as metadata key-value pairs and request timeout in milliseconds. |
Output
JSON
json- The JSON response from the Lerty API or webhook after sending the reply message.
Dependencies
- Requires Lerty API credentials including base URL and API token for authentication.
Troubleshooting
- Ensure the Conversation ID is provided and does not contain unevaluated expressions (e.g., '{{' or '}}').
- Verify that the Lerty API credentials are correct and the API is accessible.
- If a 422 validation error occurs, check the conversation ID and message content for correctness.
- If the response webhook URL is missing in the input data, the node falls back to sending the message directly to the agent's webhook endpoint.