GPT Prompt as Trigger to FB Post Automation

Hello guys, I have a problem with doing this automation. The trigger will start when the user input the file name and the folder path of the file with what Facebook account should be used in posting and when will be uploaded. I tried doing it as a webhook and customizing the GPT, storing data in Data Stores and still I am getting stucked in filtering the schedule it won’t proceed to another step.

@Jenkri Below I had outlined the automation flows needed for Facebook posting process:

Flow 1: Submit and Create Record

  • Trigger: User submits input (file name, folder path, Facebook account, upload time).
  • Action:
    • Create a new record in the Data Store with these details.
    • Set a status field like "pending" or "scheduled".

Flow 2: Process Records and Post

Trigger: Scheduled automation runs periodically (e.g., every 5 or 10 minutes)

Action:

  • Query the Data Store for records where:
    • upload_time ≤ current time
    • status is "pending"
  • For each record matching the above:
    • Post the file to Facebook using the specified Facebook account.
    • Update the record status to "posted" or "done" to avoid reposting.

Please review this approach and let me know if you have any questions?

1 Like