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

Status: Open · Asked by Kỹ Thuật Greenweb on · 0 views

tonynguyenvn — Question ·

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

Arshil Ahmad — Reply ·

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

Back to all forum threads · Log in to reply