AI Social Media Caption Creator n8n Workflow Template

n8n workflow template · 9 nodes · OpenAI

AI Social Media Caption Creator is a free n8n workflow template that starts from the Airtable Trigger node and works with OpenAI and Airtable. It has 9 nodes, 3 of them AI nodes (AI Agent, OpenAI Chat Model and Window Buffer Memory). The notes inside the workflow say: “This workflow automatically creates a social media post caption in an editorial plan in Airtable. It also uses background information on the target group, tonality, etc. stored in Airtable.” To run it, you add your own credentials for Airtable API and OpenAI API.

At a glance

Trigger
Airtable Trigger (Airtable Trigger: New Record)
Nodes
9
Apps
OpenAI and Airtable
AI nodes
3
Credentials
2 types
Category
Spreadsheets, databases and docs

Apps and integrations

  • OpenAI
  • Airtable

Node types used

  • AI Agent
  • OpenAI Chat Model
  • Window Buffer Memory
  • Airtable
  • Wait
  • Edit Fields (Set)
  • Airtable Trigger
  • Airtable Tool

How it works

The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.

Welcome to my AI Social Media Caption Creator Workflow!

This workflow automatically creates a social media post caption in an editorial plan in Airtable. It also uses background information on the target group, tonality, etc. stored in Airtable.

This workflow has the following sequence

  1. Airtable trigger (scan for new records every minute)
  2. Wait 1 Minute so the Airtable record creator has time to write the Briefing field
  3. retrieval of Airtable record data
  4. AI Agent to write a caption for a social media post. The agent is instructed to use background information stored in Airtable (such as target group, tonality, etc.) to create the post.
  5. Format the output and assign it to the correct field in Airtable.
  6. Post the caption into Airtable record.

The following accesses are required for the workflow

  • Airtable Database: Documentation
  • AI API access (e.g. via OpenAI, Anthropic, Google or Ollama)

Example of an editorial plan in Airtable

For this workflow you need the Airtable fields "created_at", "Briefing" and "SoMe_Text_AI"

You can contact me via LinkedIn, if you have any questions

Nodes in this workflow

The 9 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:

  1. AI Agent (AI Agent)
  2. OpenAI Chat Model (OpenAI Chat Model)
  3. Window Buffer Memory (Window Buffer Memory)
  4. Get Airtable Record Data (Airtable)
  5. Wait 1 Minute (Wait)
  6. Format Fields (Edit Fields (Set))
  7. Post Caption into Airtable Record (Airtable)
  8. Airtable Trigger: New Record (Airtable Trigger)
  9. Background Info (Airtable Tool)

Credentials you need

  • Airtable API – used by Airtable Trigger: New Record, Background Info, Get Airtable Record Data and Post Caption into Airtable Record
  • OpenAI API – used by OpenAI Chat Model

Configure your own credentials after importing. Create each credential in n8n, then select it in the node.

How to import into n8n

  1. Download the JSON file with the button above.
  2. In n8n, open a new workflow, select the ... menu and choose Import from File. You can also paste the JSON straight into the editor canvas.
  3. Open each node that shows a warning and select or create its credential.
  4. Read the notes on the canvas, test the workflow with sample data, then activate it.

Do you need somewhere to run it? Read our guide to self-hosted n8n.

Need this customised?

We can adapt this workflow to your apps, data and process, then deploy and support it.

Contact Us