Lola Append History L2
AI-generatedOverview
The "Lola Append History L2" node is designed to interact with a Lola Agent by appending a message to a chat history. It allows you to specify the sender (AI or Human), the chat session identifier, and the message content. This node is useful in scenarios where you need to programmatically add messages to an ongoing conversation with a Lola Agent, such as logging interactions, simulating user input, or integrating external systems with Lola's conversational context.
Practical examples:
- Logging automated responses from an AI agent into a chat history.
- Simulating human input for testing or demonstration purposes.
- Integrating third-party systems that need to append messages to a Lola-powered chat session.
Properties
| Name | Meaning |
|---|---|
| From | Specifies the sender of the message. Options: "AI", "Human". |
| Chat Identifier | A unique identifier for the chat session. Required to associate the message with a chat. |
| Message | The message text to send to the Lola Agent. |
Output
The node outputs a single field in the json object:
{
"lola_response": { /* Response from setValueFromL2AppentHistory function */ }
}
- lola_response: Contains the response returned by the Lola Agent after appending the message to the chat history. The exact structure depends on the implementation of the underlying function but typically includes status or confirmation details.
Dependencies
- May require credentials named
lolaKeyApiif configured, though it is not strictly required. - Relies on an internal helper function (
setValueFromL2AppentHistory) for interacting with the Lola Agent.
Troubleshooting
- Missing Chat Identifier: If the "Chat Identifier" property is empty or invalid, the node will likely fail to append the message. Ensure this value is provided and correct.
- Invalid Credentials: If the Lola Agent requires authentication and credentials are missing or incorrect, the operation may fail.
- Unexpected Response Structure: If the output does not contain the expected fields, verify the integration with the Lola Agent and ensure the helper function is working as intended.
Links and References
- n8n Documentation
- For more information about Lola Agent integrations, refer to your organization's Lola Agent documentation or support resources.