Log received iMessages to a Google Sheet
This trigger fires when you receive a new iMessage.
Developer info
- API endpoint slug
- photon_codes.new_message
Trigger fields
No fields for this trigger
Ingredients
Created at The timestamp when the message was received
- Slug
- created_at
- Filter code
- PhotonCodes.newMessage.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Message guid The unique identifier for the message
- Slug
- message_guid
- Filter code
- PhotonCodes.newMessage.MessageGuid
- Type
- String
- Example
- p:0/A1B2C3D4-E5F6-7890-ABCD-EF1234567890
Attachments JSON array of attachment filenames
- Slug
- attachments
- Filter code
- PhotonCodes.newMessage.Attachments
- Type
- String
- Example
- ["photo.jpg","doc.pdf"]
Text The message text content
- Slug
- text
- Filter code
- PhotonCodes.newMessage.Text
- Type
- String
- Example
- Hey, are you free for lunch?
Sender The phone number or email of the sender
- Slug
- sender
- Filter code
- PhotonCodes.newMessage.Sender
- Type
- String
- Example
- +15551234567
Chat guid The unique identifier for the conversation
- Slug
- chat_guid
- Filter code
- PhotonCodes.newMessage.ChatGuid
- Type
- String
- Example
- iMessage;-;+15551234567