Skip to main content

I am trying to extract the file attachment that has been sent to messenger, mostly image, I cannot find the Value in Zapier  Messenger App where the value for the attachment is located. 

 

Thank you for your help

Hey! Yeah, this is a common issue with the Messenger Zap.

When someone sends an image, Zapier doesn’t always surface the direct file URL clearly. Sometimes it shows up as a payload or under attachmentst0].payload.url, but not all message types include it by default.

Try checking the raw data or adding a Webhook by Zapier step to fetch the full message object using the Messenger API — that usually gives better access to the image URL.


Hi there ​@Britz 👋

I did some checking and found there’s an existing feature request for the ability to add image/file support for the New Message Sent to Page trigger. So I’ve gone ahead and added your vote to that feature request. While I can’t guarantee if or when this will be added, we’ll be sure to notify you via email if it becomes available!

In the meantime, is the url for the image included in the message text that comes through by any chance—in a HTML img tag perhaps? If it is you could potentially use a Formatter (Text > Extract Pattern) action to extract the image:

 

Do you think that alternative approach could work for now, or is URL for the image not included at all?


Reply