Mindket

Tweet drafts on a random hashtag saved to Airtable by AI

Newversion 1 · updated

Overview

An n8n workflow that picks one of two hashtags at random, asks OpenAI for a short tweet about it and adds the hashtag and the tweet as a new Airtable row. It posts nothing to X.

Tweet drafts on a random hashtag saved to Airtable by AI is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

At a glance

Runs in
  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • Your own hashtags: edit the list in Pick Hashtag

Platform

Connects 2 apps

How it works

Trigger

Manual start

Nothing runs on its own. You press Execute Workflow, and it uses:

  • No input: the two hashtags are listed in Pick Hashtag

Actions

  1. One of two hashtags is picked at random
  2. The model writes a tweet of under 100 characters about it
  3. The hashtag and the tweet are kept as two fields
  4. A new row with those two fields is added to an Airtable table

Result

A new Airtable row holding a hashtag and a draft tweet about it

Integrations

What you need before you start.

OpenAI

Tweet writer

Writes a short tweet about the chosen hashtag.

NeedsOpenAI API key

Airtable

Draft store

Holds each hashtag and tweet as a row.

NeedsAirtable personal access token

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
5 steps, starting by hand
AI
1 step calls an AI model: Write Tweet
Sign-ins
Signs in to: Airtable
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 5 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow writes one tweet draft each time you run it. A short code step picks one of two hashtags at random. OpenAI writes a tweet of under 100 characters about that hashtag. The workflow then adds a row with the hashtag and the tweet to an Airtable table. Five nodes run it, and nothing is posted to X.

Who it suits

Social media managers, small teams and founders who keep a bank of draft tweets in Airtable. Skip it if you want posts published for you, since it only drafts and stores text.

Who uses it, and how
IndustryWho uses itHow they use itExample
MarketingSocial media managersFill a bank of draftsA manager runs it ten times and reviews ten drafts in Airtable.
StartupsFoundersGet ideas for a posting weekA founder runs it before a launch and keeps the best draft.
AgenciesContent freelancersOffer a client some optionsA freelancer lists the hashtags a client cares about and sends the drafts for a quick pick.
CommunityModeratorsKeep a feed livelyA moderator drafts a few posts for a tag and edits them by hand.

You need a little n8n: import a file, add an OpenAI credential and an Airtable credential, and choose a table.

Where to use it

Any n8n that can reach OpenAI and Airtable will run it. It starts when you press the test button, and it needs no web form.

  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • Your own hashtags: edit the list in Pick Hashtag

Setup

Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. You need an OpenAI key, an Airtable token and an Airtable table with two text columns.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
OpenAIAn API key
AirtableA personal access token, and a table with columns named Hashtag and Content
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Add an OpenAI credential and select it in Write Tweet.
  3. Add an Airtable credential that uses a personal access token and select it in Airtable.
  4. In Airtable, choose your base and your table, whose columns are Hashtag and Content.
  5. Press Execute Workflow and check that a new row appears.

How to use it

Press Execute Workflow for each draft you want. Each run adds one row. Edit or delete the drafts in Airtable before you use any of them.

What to change for a different result
To changeWhere
The hashtagsThe list in Pick Hashtag
The tweet rulesThe message in Write Tweet
The modelWrite Tweet
The column namesThe two names in Set, to match your table
Where the drafts goReplace Airtable with another node

Example

A founder runs it once. Pick Hashtag chooses #n8n, the model writes a short tweet that includes #n8n, and a new row appears in Airtable with #n8n in Hashtag and the tweet in Content.

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A Code node runs a few lines of JavaScript. Airtable stores rows in a table that works like a spreadsheet.

For experts. Pick Hashtag runs once for each incoming item and returns one hashtag. Set keeps only two fields, and Airtable maps the incoming fields to columns by name.

Where to look closer
NodeWhat it doesWhat to know
Pick HashtagPicks one hashtag at randomThe list holds two hashtags
Write TweetAsks the model for a tweetReads no earlier tweets, so drafts can repeat
SetKeeps the hashtag and the tweetNames must match your columns
AirtableAdds one rowYou choose the base and the table

Good to know

The model call and two nodes were out of date, and the Airtable base is yours to choose.

  • Model: the file called text-davinci-001 through the old completions endpoint, which OpenAI’s page, read on 12 November 2026, lists as shut down on 4 January 2024. Mindket’s copy uses the OpenAI node with gpt-6-luna
  • Airtable: the file used the first version of the node with an API key. Airtable’s page says API keys stopped working on 1 February 2024, so the node is now the current one and uses a personal access token
  • Code: the file used the Function Item node, which n8n marks as deprecated and replaces with the Code node, so Pick Hashtag is a Code node
  • Drafts only: nothing is posted to X, so read each draft first
  • Repeats: the model does not see earlier drafts, so the same tweet can come back
  • Not run: Mindket read this copy against n8n’s source and did not run it on a live n8n
  • Your data: the hashtag goes to OpenAI, and the hashtag and tweet go to Airtable
  • Credentials: the JSON holds none

README and files

README

Tweet drafts on a random hashtag saved to Airtable by AI

An n8n workflow that writes one tweet draft each time you run it. A short code step picks one of two hashtags at random. OpenAI writes a tweet of under 100 characters about it, and the workflow adds a row with the hashtag and the tweet to an Airtable table. Nothing is posted to X.

What is inside

  • workflow.json: the workflow as n8n exports it, 5 nodes. All five run, and there are no sticky notes. It holds no credential.
  • README.md: these notes.

What we changed from the original copy

  • The text step was an HTTP Request node that posted to OpenAI's old v1/engines/text-davinci-001/completions address with a header credential. OpenAI's deprecation page, read on 12 November 2026, lists text-davinci-001 as shut down on 4 January 2024, and the replacement it names, gpt-3.5-turbo-instruct, is itself listed as shut down. The step is now the OpenAI node's message action with gpt-6-luna, the small model that page names for gpt-4o-mini. The node reads the tweet from message.content, where the file read choices[0].text.
  • The file set a temperature of 0.7 and a limit of 64 tokens. This copy sets neither: OpenAI's reasoning guide says hidden reasoning tokens count toward the output limit, so a small cap can leave no visible text, and the model's page lists no temperature setting.
  • The prompt is reworded for a chat model, and it asks for the tweet text only.
  • FunctionItem is replaced by a Code node named Pick Hashtag. n8n's source marks the old node as deprecated and hidden, and points to the Code node.
  • Airtable was the first version of the node, which signs in with an API key. Airtable's page, read on 12 November 2026, says API keys stopped working on 1 February 2024. The node is now the current version, with a personal access token and a resource-locator for the base and the table. The file's base ID was its author's and is gone. You choose your base and table, and the file's table was named main.
  • Set is rebuilt as the current Set node with the same two fields, and the credential links are gone.

Mindket read this copy against n8n's source. It was not run on a live n8n.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • An OpenAI API key.
  • An Airtable personal access token, and a table with two text columns named Hashtag and Content.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Add an OpenAI credential and select it in Write Tweet.
  3. Add an Airtable credential that uses a personal access token and select it in Airtable.
  4. In Airtable, choose your base and your table.
  5. Press Execute Workflow and check that a new row appears.

What happens in a run

  1. On clicking 'execute' starts the run when you press Execute Workflow.
  2. Pick Hashtag chooses #techtwitter or #n8n at random.
  3. Write Tweet asks the model for a short tweet on that hashtag, with the hashtag included.
  4. Set keeps two fields: Hashtag, from Pick Hashtag, and Content, the model's reply.
  5. Airtable adds them as a new row, mapping the fields to columns of the same name.

What to change

  • The hashtags: the list in Pick Hashtag.
  • The tweet rules: the message in Write Tweet.
  • The model: Write Tweet.
  • The column names: the two names in Set, to match your table.
  • Where the drafts go: replace Airtable with another node.

Good to know

  • The workflow only drafts. Nothing is posted to X, so read each draft before you use it.
  • The model does not see earlier drafts, so the same tweet can come back.
  • Rows are added on every run, and the workflow has no schedule, so it runs only when you press the button.
  • Data: the hashtag goes to OpenAI, and the hashtag and the tweet go to Airtable.
  • Cost: one model call per run, billed by OpenAI.
Files
NOTICE.md  597 B
README.md  4 KB
workflow.json  4 KB

3 files, 8 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Marketing & SEO

See all in Marketing & SEO

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

Licon MSR for LTX-2.5

LiconStudio · Kit

Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…

New

Flux.2-Klein-9B-MatchingPose

nhathoangfoto · Kit

A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…

New