Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Live Chat Msg → List Of Live Chat Msg

AI-generated

Overview

This node interacts with the Halo PSA API to list live chat messages associated with a specific chat. It is designed to retrieve messages from a live chat session, supporting filtering by message IDs to paginate or limit the results.

Common scenarios where this node is beneficial include:

  • Fetching recent messages from a live chat for monitoring or logging purposes.
  • Integrating live chat data into other workflows, such as customer support ticket creation or analytics.
  • Synchronizing chat messages with external systems or databases.

For example, you can use this node to get all messages after a certain message ID (last_id) to process only new messages since the last check.

Properties

Name Meaning
Chat Id The identifier of the live chat session whose messages you want to list.
Last Id Optional filter to return only messages with an ID greater than this value (pagination).
Max Id Optional filter to return only messages with an ID less than or equal to this value.

Output

The node outputs an array of JSON objects representing live chat messages retrieved from the Halo PSA API. Each item in the output corresponds to one message and contains all relevant fields returned by the API for that message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses these credentials to authenticate requests via HTTP headers.
  • No additional environment variables are required beyond the configured credentials.

Troubleshooting

  • No credentials returned!
    This error indicates that the node could not find or access the required API credentials. Ensure that the API key credential is properly configured in n8n.

  • Resource or Operation not found
    If the specified resource or operation does not exist, verify that the correct resource ("Live Chat Msg") and operation ("List Of Live Chat Msg") are selected.

  • API request errors
    Errors from the Halo PSA API (e.g., authentication failures, invalid parameters) will be returned in the node output if "Continue On Fail" is enabled; otherwise, they will cause the workflow to stop. Check the error message for details and verify your input parameters and credentials.

  • Invalid parameter values
    Make sure that chat_id, last_id, and max_id are provided in the correct format expected by the API.

Links and References

Discussion