Quick overview
This workflow runs daily and pulls active topics from Airtable, uses Anthropic Claude to write a LinkedIn-style caption, generates a matching illustration with the OpenAI Images API, hosts the image on ImgBB, schedules posts to LinkedIn and Instagram via Buffer, and logs the result back to Airtable.
How it works
- Runs every day at 08:00 in the workflow timezone.
- Reads all active topic ideas from an Airtable “Topics” table and fetches the 14 most recent entries from an Airtable “Posts” history table.
- Excludes topics used in the last 14 posts, randomly selects a fresh topic, and stops without publishing if no unused topic is available.
- Sends the selected topic to the Anthropic Messages API (Claude) to generate a Dutch social post caption.
- Uses the caption and topic to generate a 1024×1024 branded image with the OpenAI Images API, converts the base64 response to a PNG, and uploads it to ImgBB to get a public image URL.
- Creates/schedules an image post with the caption and ImgBB URL to LinkedIn and then Instagram via Buffer.
- Logs the topic, caption, and image URL to Airtable so the topic is avoided for the next 14 runs.
Setup
- Create Airtable credentials and replace the Airtable base ID and table IDs for the “Topics” and “Posts” tables.
- Ensure your Airtable schema includes a “Topics” table with fields “Topic” (text) and “Active” (checkbox) and a “Posts” table with a “Date” Created time field plus “Topic”, “Post”, and “Image URL” fields.
- Add an Anthropic (Claude) API credential and customize the prompt in the Claude request body for your brand, tone, and rules.
- Add an OpenAI API credential and adjust the image prompt/style settings if needed.
- Get an ImgBB API key and paste it into the upload request’s
key query parameter (or swap in another hosting provider).
- Connect Buffer credentials and set your Buffer organization ID plus the LinkedIn and Instagram channel IDs used for posting.