Automation library · Research and reporting

Build a self-hosted URL shortener with Airtable

Started by another system calling it, and works across Airtable. 26 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large

26 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 3Logic 17Service 6

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

  1. 1WebhookWebhookStarts it
  2. 2Webhook1WebhookStarts it
  3. 3Webhook2WebhookStarts it
  4. 4Check URLIfLogic
  5. 5Check IdIfLogic
  6. 6Find by ID2AirtableService
  7. 7Extract URLSetLogic
  8. 8Set Error outputSetLogic
  9. 9Extract IdSetLogic
  10. 10Set Error output1SetLogic
  11. 11Extract statsFunctionLogic
  12. 12CryptoCryptoService
  13. 13Find by ID1AirtableService
  14. 14Set dashboardSetLogic
  15. 15Set ID,shortUrl,longUrlSetLogic
  16. 16Already exists ?1IfLogic
  17. 17Find by IDAirtableService
  18. 18Prepare clicks countSetLogic
  19. 19404 ErrorSetLogic
  20. 20Already exists ?IfLogic
  21. 21Update clicksAirtableService
  22. 22Set OutputSetLogic
  23. 23Set inputSetLogic
  24. 24Set Output2SetLogic
  25. 25AirtableAirtableService
  26. 26Set Output1SetLogic

How it's built

Starts on
Another system calling it
Steps
26, with 4 branches
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 another system calling 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 26 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 26 steps before you point it at anything that matters.