# Airtable Tweet Drafts

Source: https://openflow.run/en/templates/airtable-tweet-drafts/
Content language: en
Template revision: f2bf5895d91486412f320151dafd9c6b95b42091

Marketing

Generate a tweet draft for a randomly selected hashtag and save the draft and hashtag in Airtable for review.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2Ff2bf5895d91486412f320151dafd9c6b95b42091%2Fworkflows%2Fairtable-tweet-drafts%2Ftemplates%2Fairtable-tweet-drafts.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/airtable-tweet-drafts/templates/airtable-tweet-drafts.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/airtable-tweet-drafts/templates/airtable-tweet-drafts.n8n.json)

![Airtable Tweet Drafts workflow in Open Flow](https://openflow.run/_astro/preview-light.CTPQJdX5_ZLBtNR.webp)

Generate a short tweet draft and save it with its hashtag in Airtable. Run it manually when you want a draft to review.

## Setup

Create an Airtable table with text fields named `Hashtag` and `Content`.

For Open Flow, import the JSON, edit the hashtag list in **Choose hashtag**, select a configured `gpt-4o-mini` model in **Generate tweet draft**, and connect Airtable in **Save draft**. Replace the base and table IDs.

For n8n, edit the list in **FunctionItem**, connect OpenAI in **HTTP Request**, and select an Airtable access-token credential, base, and table in **Airtable**. The OpenAI node keeps its original source name.

Run the workflow manually. One run selects one hashtag and creates one Airtable record. It does not publish to X. Review facts, tone, hashtag choice, and length before using the draft. The prompt asks for fewer than 100 characters; that length is not enforced. Repeating a run creates another record.

## Changes to the source

*   Replace the retired text-davinci-001 completion request with the OpenAI message node and `gpt-4o-mini` in both formats. Generated wording will differ from the original model.
*   Configure Airtable access-token authentication and replace the source base ID with a setup placeholder.
*   Stop without creating a record when the model returns an empty draft.

Adapted from [OpenAI-powered tweet generator](https://github.com/enescingoz/awesome-n8n-templates/blob/827110332c21cbe000ab13f6d292d5adb1f1f8db/Instagram_Twitter_Social_Media/OpenAI-powered%20tweet%20generator.json) in [enescingoz/awesome-n8n-templates](https://github.com/enescingoz/awesome-n8n-templates).

Source collection notice: © 2024–2026 Enes Cingoz, [CC BY 4.0](https://github.com/enescingoz/awesome-n8n-templates/blob/827110332c21cbe000ab13f6d292d5adb1f1f8db/LICENSE). The source export does not identify a separate template author or license. This adaptation includes the changes listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/README.md#licensing) for the scope of OOMOL contributions and third-party material.

## Apps used

*   [**Airtable**`airtable`](https://console.openflow.run/connections/airtable)

## What you’ll need

*   Airtable connection and base/table
*   Hashtag and Content text fields
*   Configured gpt-4o-mini model or compatible replacement

*   airtable
*   ai
*   social media
*   drafts

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/airtable-tweet-drafts/README.md)
