iMessage by Photon icon

iMessage by Photon

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

Chat → Mark Chat Read

AI-generated

Summary

Marks all messages in an iMessage chat as read via the Photon server by POSTing to its chat read endpoint for the given chat GUID.

Inputs

  • chatGuid (required) — Chat identifier, e.g. iMessage;-;+1234567890 for a DM or iMessage;+;chat123456 for a group. Use List Chats to find it. A bare phone/email or a GUID with a different service prefix is also tried as iMessage;-;
    and any;-;
    variants.

Output shape

One output item per input item, containing the Photon server's response data for the read request (the response's data field if present, otherwise the whole response).

The server's response shape isn't defined in the node. If the GUID isn't found (404 or 'chat not found'), the node retries with alternate GUID variants, then fails with an API error. With Continue On Fail enabled, failed items return {error: message}. Each item is processed separately using its own chatGuid.

Examples

Example 1: Mark a customer's DM as read after an automated reply workflow handles it

Resource: Chat, Operation: Mark Chat Read, Chat GUID: {{ $json.chatGuid }}

Example 2: Mark a specific group chat as read on a schedule

Chat GUID: iMessage;+;chat123456

Links

Discussion