Actions22
- Chat Actions
- Contact Actions
- Handle Actions
- Message Actions
- Poll Actions
- Scheduled Message Actions
Message → Edit Message
AI-generatedSummary
Edit the text of a previously sent iMessage by GUID via the Photon server. Only messages you sent can be edited.
Inputs
- Message GUID (required) — GUID of the message to edit (e.g. p:0/XXXXXXXX-...). It is URL-encoded into the request path. Only messages you sent can be edited.
- New Text (required) — Replacement text. The node sends it as both the edited message and the backwards-compatibility message.
- Additional Fields > Part Index — Which part of a multi-part message to edit. Defaults to 0 (first part) and is only needed for multi-part messages.
Output shape
One output item per input item, containing the Photon server's response (the data field if present, otherwise the full response body).
The exact fields depend on the Photon server and are not defined in the node. Unlike the send operations, this does not apply the inbound-first policy check. If 'Continue On Fail' is enabled, a failed item returns {error: message}. Otherwise the node throws an API error.
Examples
Example 1: Fix a typo in a message the workflow just sent
Message GUID = {{$json.guid}} from the Send Message output; New Text = corrected text; leave Part Index unset.
Example 2: Edit the second part of a multi-part message
Set Message GUID and New Text; add Additional Fields > Part Index = 1.