WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Message → Edit Message

AI-generated

Overview

This node operation allows editing an existing message in a WasenderAPI session by updating its text content. It is useful for scenarios where you need to correct or update the text of a previously sent message, such as fixing typos or adding additional information.

Use Case Examples

  1. Editing the text of a message with a specific message ID to update its content.
  2. Updating a message's text in a chat session to reflect new information.

Properties

Name Meaning
Session Optionally select a session to use for the message editing operation. If not provided, the session from the incoming item is used automatically.
Auto Selected Session ID Automatically populated session ID from the incoming item, used if no session is manually selected.
Has Auto Selected Session Indicates whether there is an automatically selected session ID available from the incoming item.
Message ID The unique identifier of the message to be edited. This is required to specify which message to update.
New Text The new text content to replace the existing message text. This is required for the edit operation.
Options Additional request options such as retry behavior and maximum retry attempts for the API request.

Output

JSON

  • json - The JSON response from the WasenderAPI after editing the message, containing details about the updated message.

Dependencies

  • WasenderAPI with an API key credential for authentication

Troubleshooting

  • Ensure the Message ID is provided and is a positive integer; otherwise, the node will throw an error indicating the Message ID is required.
  • Verify that the session is correctly selected or provided via the incoming item; missing session information will cause an error.
  • If the API request fails due to network or server issues, the retry options can help mitigate transient errors by retrying the request automatically.

Discussion