
Automate Your LinkedIn Posts with Airtable and n8n
Effortlessly create, manage, and publish LinkedIn posts using Airtable, n8n, and OpenAI (or any LLM of your choice). This guide walks you through the process of setting up a seamless automation workflow.
Overview of the Automation
The automation works in two phases:
- Generate the Post: Approving a topic triggers the creation of a LinkedIn post draft.
- Publish the Post: Approving the generated LinkedIn post triggers its publication on LinkedIn.
What You’ll Need
Before you begin, ensure you have the following:
- n8n Account - To set up and automate the workflow.
- Airtable Account - To manage your Topics and LinkedIn Posts.
- OpenAI API Key - This generates the post content (optional: replaceable with any LLM).
- LinkedIn API Access:
- LinkedIn Access Key
- LinkedIn Access Secret
- Access to n8n Workflow Editor
Step-by-Step Setup Guide
Follow these steps to create the automation:
1. Setting Up Airtable
Import both Airtable CSVs
- Topics Table:
- Imp Fields:
- Topic (Short text)
- Topic Description (Short text)
- Status (Single Select: Pending, Approved)
- LinkedIn Posts Table: (Row Automatically generated by workflow)
- Imp Fields:
- Post Content (Long text)
- Status (Single Select: Ready to Review, Approved, Posted)

2. Setting Up LinkedIn API Access
To post on LinkedIn, you’ll need API access:
- Go to the LinkedIn Developer Portal.
- Create an app to get your Access Key and Access Secret.
- Enable permissions for content creation (Share on LinkedIn).

Save these credentials, as you’ll need them in n8n.
3. n8n Workflow Setup
Workflow Overview
Your workflow will include the following key steps:
- Trigger: Airtable status changes.
- Generate Content: Use OpenAI API (or your LLM) to generate the LinkedIn post content.
- Post to LinkedIn: Send the approved post to LinkedIn using the LinkedIn API.
4. Testing the Workflow
Once the workflow is set up, test it step-by-step:
- Go to the Topics table in Airtable.
- Create a new row.
- Add a Topic and Topic Description.
- Change the Status to "Approved".
- Wait for around 1 minute.
- A new row LinkedIn Posts.
- Change the Status of the new row to "Approved".
- The content will be posted to LinkedIn.
- The Status will automatically update to "Posted".


5. Customization Options
- Replace OpenAI with your preferred LLM or custom content generation model.
- Add more fields to Airtable for additional metadata (e.g., post images, hashtags).
- Adjust the workflow timing and triggers based on your needs.
Conclusion
You now have a fully automated LinkedIn posting system that saves time, reduces manual effort, and keeps your content pipeline running smoothly. Feel free to customize the workflow further to suit your needs!
If you need help with setup or further enhancements, contact us Contact us for support