An ad post from a product photo — with chat approval

You send a product photo to Slack — the scenario makes an ad image and caption, you approve the steps, and the post goes to Facebook Graph API.

  • An ad from a single product photo
  • Every step with your approval
  • Image and caption made for you
  • Published to your social
Telegram

How it works

To connect Slack and Facebook Graph API, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Receive Product Image (Telegram Trigger)
  2. Then: Get Telegram File Path
  3. Then: Analyze Product Image (OpenAI Vision)
  4. Then: Generate Ad Prompt Draft (from Image Analysis)
  5. Then: Assemble Prompt Parameters
  6. Then: User Review: Approve/Reject Ad Prompt
  7. Check: Check Prompt Approval (Yes/No)
  8. If yes: Send a text message
  9. Then: Prepare Fal.AI Input Fields
  10. Then: Call Fal.AI API (nano-banana model)
  11. Then: Check Fal.AI Image Status
  12. Check: Verify Image Generation Completed
  13. If yes: Retrieve Generated Image URL
  14. Then: Send Generated Image to Telegram
  15. Then: User Review: Approve/Reject Generated Image
  16. Check: Check Image Approval (Yes/No)
  17. If yes: Analyze Final Ad Image (OpenAI Vision)
  18. Then: Generate Social Media Caption
  19. Then: User Review: Approve/Reject Caption
  20. Check: Check Caption Approval (Yes/No)
  21. If yes: Preview Post Image (Telegram)
  22. Then: Preview Post Caption (Telegram)
  23. Then: Publish Post to Facebook Page
  24. If no: Wait
  25. If no: Revise Prompt Based on Feedback
  26. Then: OpenAI Chat Model
  27. Then: Structured Output Parser
  28. Then: OpenAI Chat Model1
  29. Then: Structured Output Parser1

You can launch this Slack + Facebook Graph API integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.