Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Message → Edit

AI-generated

Summary

Edits a message by ID through the Baileys Instance API, replacing its text and returning the API response.

Inputs

  • Message ID (required) — ID of the message to edit.
  • Text (required) — Replacement message text.
  • Additional Options: Idempotency Key — Optional key for identifying duplicate requests. If omitted, a unique key is generated per n8n item by default; disable Generate Automatically to send without one.

Output shape

A single item containing the API response as JSON.

The operation sends a POST request to the message edit endpoint. With Continue On Fail enabled, an error is returned in the item's JSON instead of failing the node.

Links

Discussion