How to handle image and video posting to a Facebook Page in a single webhook workflow?

Consent to Access & Modify
I authorize Pabbly Support to log in to my account and make changes to the specified workflow for troubleshooting.
I have a tool that stores image or video URLs. I can already publish to a Facebook Page via webhook, but currently one Page requires two separate workflows.


My question is: how can I handle this in a single workflow, so that when data is sent to the webhook:


  • if the URL is an image, it automatically creates a normal image post
  • if the URL is not an image but a video, it automatically switches to uploading a Reel / video post

In other words, how can I detect the media type (image vs video) and route it to the correct Facebook publishing method within the same workflow? Tks all
1766683066510.png
1766683091410.png
 

ArshilAhmad

Well-known member
Staff member
Hi @tonynguyenvn,

The use case you’re describing could be achieved by adding a Route to your workflow. Could you please share the workflow URL you’ve created so we can assess the feasibility of your use case?

Thanks & Regards,
Arshil Ahmad
Customer Support Associate
🌐 Pabbly.com
👉Rate your support
 
Top