# Assistant for n8n widget with OpenAI and Airtable: n8n workflow

> Started by someone opening a chat with it, and works across Airtable. 27 steps, 3 branches, 5 loops or waits: large, and worth reading before you trust it...

Source: https://millionrounds.com/workflow/assistant-for-n8n-widget-with-openai-and-airtable (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Assistant for n8n widget with OpenAI and Airtable

Started by someone opening a chat with it, and works across Airtable. 27 steps, 3 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fassistant-for-n8n-widget-with-openai-and-airtable)

**27 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**5** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Logic 13 Service 13

The steps in the order they run, from what starts it.

- 1 **Chat Trigger** Chat trigger *Starts it*
- 2 **Configuration** Set *Logic*
- 3 **Check Thread Exists** Airtable *Service*
- 4 **Thread Exists** If *Logic*
- 5 **OpenAi Create Thread** Http Request *Service*
- 6 **OpenAi add message** Http Request *Service*
- 7 **Save Thread to Database** Airtable *Service*
- 8 **Run The Thread** Http Request *Service*
- 9 **Run the Thread** Http Request *Service*
- 10 **Get Run** Http Request *Service*
- 11 **Completed, Action or Inprogress** Switch *Logic*
- 12 **Get Last Message** Http Request *Service*
- 13 **Select Function** Switch *Logic*
- 14 **Wait1** Wait *Logic*
- 15 **Wait** Wait *Logic*
- 16 **Response** Set *Logic*
- 17 **HTTP Request** Http Request *Service*
- 18 **HTTP Request1** Http Request *Service*
- 19 **Execute Workflow** Execute Workflow *Logic*
- 20 **Code1** Code *Logic*
- 21 **Code** Code *Logic*
- 22 **Submit Data Function 3** Http Request *Service*
- 23 **Submit Data** Http Request *Service*
- 24 **Submit Data1** Http Request *Service*
- 25 **Wait4** Wait *Logic*
- 26 **Wait2** Wait *Logic*
- 27 **Wait3** Wait *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 27, with 3 branches, 5 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Airtable account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fassistant-for-n8n-widget-with-openai-and-airtable)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Generate n8n forms from Airtable and Baserow tables** 26 steps · Airtable](https://millionrounds.com/workflow/generate-n8n-forms-from-airtable-and-baserow-tables)
- [**Assign unassigned Jira issues with Airtable** 28 steps · calls a model · Airtable, Jira](https://millionrounds.com/workflow/assign-unassigned-jira-issues-with-airtable)
- [**Assistant for HubSpot chat with OpenAI and Airtable** 26 steps · calls a model · Airtable](https://millionrounds.com/workflow/assistant-for-hubspot-chat-with-openai-and-airtable)
- [**Automate cryptocurrency funding fee tracking with Binance API** 24 steps · Airtable](https://millionrounds.com/workflow/automate-cryptocurrency-funding-fee-tracking-with-binance-ap)
- [**Require two-person approvals for change requests with Airtable** 24 steps · Airtable, Gmail](https://millionrounds.com/workflow/require-two-person-approvals-for-change-requests-with-airtab)
- [**AI agent to chat with Airtable** 30 steps · calls a model · Airtable](https://millionrounds.com/workflow/ai-agent-to-chat-with-airtable)
