Lis - Send System Instructions icon

Lis - Send System Instructions

Send system instructions to Lis

Overview

This node, named "Lis - Send System Instructions," is designed to send system instructions messages to a service called Lis. It allows users to specify a conversation thread and deliver custom instruction data through different chat interfaces. This can be useful in scenarios where automated system-level commands or configurations need to be sent to an ongoing chat session managed by Lis, such as setting up context, controlling bot behavior, or injecting metadata.

Practical examples include:

  • Sending configuration commands to a chatbot session identified by a thread ID.
  • Delivering system-level instructions to a WhatsApp chat interface or via an API interface.
  • Automating control messages for customer support conversations handled by Lis.

Properties

Name Meaning
Thread ID The unique identifier of the conversation thread to which the system instructions will be sent.
Data The content of the system instructions message to send.
Chatinterface The chat interface to use for sending the instructions. Options: API, WhatsApp.

Output

The node outputs an array of JSON objects, each representing the response from the Lis service for each input item processed. Each response corresponds to the result of sending the system instructions to the specified thread and chat interface.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Lis service.
  • The Lis service URL is obtained from the provided credentials.
  • The node makes HTTP POST requests to the endpoint /agent/messages/system on the Lis service.

Troubleshooting

  • Common issues:

    • Invalid or missing Thread ID or Data properties will cause the request to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems may prevent successful communication with the Lis service.
  • Error messages:

    • Authentication failures typically indicate invalid API credentials; verify and update them.
    • HTTP errors from the Lis service may indicate malformed requests or server-side issues; check that the Thread ID and Data are correctly formatted.
    • Timeout or connection errors suggest network issues; ensure the n8n instance has internet access and the Lis service is reachable.

Links and References

  • No external links provided in the source code. For more information, consult the Lis service API documentation if available.

Discussion