Supportpal icon

Supportpal

Consume Supportpal REST API (v.1.2.4)

Actions22

Message → Update

AI-generated

Overview

This node interacts with the Supportpal REST API to update a message resource. It allows users to modify the text content of an existing message by specifying the message ID and the new text. This operation is useful in scenarios where message content needs correction or updating after creation, such as updating customer support messages or internal notes.

Use Case Examples

  1. Updating the text of a support ticket message to correct a typo.
  2. Modifying a message content to add additional information after initial submission.

Properties

Name Meaning
Text The new text content for the message to be updated.
ID The unique identifier of the message to update.
Simplify Response Option to return a simplified response containing only the message data.

Output

JSON

  • id - The unique identifier of the updated message.
  • text - The updated text content of the message.
  • ticket_id - The ID of the ticket associated with the message.
  • user_id - The ID of the user who created or updated the message.
  • created_at - Timestamp when the message was created.
  • updated_at - Timestamp when the message was last updated.

Dependencies

  • Supportpal REST API

Troubleshooting

  • Ensure the message ID provided exists; otherwise, the API will return an error indicating the message was not found.
  • The 'text' field is required; omitting it will cause the API to reject the update request.
  • API authentication credentials must be correctly configured; otherwise, requests will fail with authentication errors.
  • If the 'Simplify Response' option is enabled, only the core message data is returned, which might omit some metadata present in the full response.

Links

Discussion