iMessage by Photon icon

iMessage by Photon

Send, search, and manage iMessage conversations via the Photon server

Message → Unsend Message

AI-generated

Summary

Retracts a previously sent iMessage via the Photon server so recipients see that it was unsent. Only messages you sent can be unsent.

Inputs

  • Message GUID (required) — GUID of the message to unsend, e.g. p:0/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. It is URL-encoded into the request path. You can get it from the Send Message or Get Messages output, or from the trigger node.
  • Additional Fields > Part Index — Which part of a multi-part message to unsend. Defaults to 0, the first part. Only needed for multi-part messages.

Output shape

One output item per input item. Its JSON is the data field of the Photon server's response, or the whole response if there is no data field.

The exact response fields are defined by the server and not by this node. The operation does not look up chat GUIDs and does not apply the inbound-first policy. If a request fails, the node throws an error. With Continue On Fail enabled, it returns an item containing {error: message} instead.

Examples

Example 1: Retract a message sent earlier in the workflow

Set Message GUID to an expression referencing the GUID returned by a prior Send Message node. Leave Additional Fields empty.

Example 2: Unsend the second part of a multi-part message

Set Message GUID to the message's GUID and add Additional Fields > Part Index = 1.

Links

Discussion