Edit Message

Edit Message

Replace the content or embed of a message this command already sent

Note: targetStepId in this example points at a synthetic send step the docs pipeline supplies for validation — in a real command it must be the id of an actual send step you added earlier.

Fields

FieldTypeRequiredDescription
targetStepIdstringyesMust be the id of a send step earlier in the same trigger's step tree.
contentstring or nullnonull leaves existing text alone; '' clears it. At least one of content/embed/components is required.
embedobjectnoSame shape as send.embed.
componentsarray of button/select rowsnoSame shape and limits as send.components.

Example

{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "edit_message",
  "targetStepId": "01H8XGJVBWX7Y5Z3K9M2N4P6Q0",
  "content": "Updated!"
}

Did this page help you?