Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Data Sync & ETL

Data Sync & ETL

Post scheduled content to Threads from a PostgreSQL content queue

On a schedule, it moves and syncs data using Postgres.

What it does

## Sub-Workflow: Threads API Auto Poster ### How it works This sub-workflow runs on a fixed schedule every four hours, checks PostgreSQL for queued content, and only continues when publish-ready content exists. It then uses the Threads API in two steps: first creating a media/text container, then publishing that container. After a successful publish, it updates the database record to mark the content as published. ### Setup steps - Configure the schedule trigger interval if the four-hour cadence should be changed. - Set up PostgreSQL credentials and ensure the queue query returns the fields needed for the Threads post and status update. - Configure the Threads API HTTP requests with the correct access token, account permissions, endpoint parameters, and any required content fields. - Verify the final PostgreSQL update query targets the correct content record and published status fields. ### Customization You can adjust the queue selection SQL to change which posts are eligible, modify the Threads API payload for different content formats, or change the schedule frequency.

The steps

  1. Every 4 Hours Trigger
  2. Fetch Queued Content
  3. Check Content Readiness
  4. Post Threads Container
  5. Publish Threads Content
  6. Update Publication Status

Similar automations