# Process signed DocuSign contracts with Supabase and Claude: n8n workflow

> Started by another system calling it, and works across Gmail, Outlook and Supabase. 23 steps, 3 branches, 1 loop or waits: large, and worth reading before...

Source: https://millionrounds.com/workflow/process-signed-docusign-contracts-with-supabase-and-claude (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Process signed DocuSign contracts with Supabase and Claude

Started by another system calling it, and works across Gmail, Outlook and Supabase. 23 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fprocess-signed-docusign-contracts-with-supabase-and-claude)

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

**3** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 1 Logic 8 Service 14

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

- 1 **DocuSign Connect Listener** Webhook *Starts it*
- 2 **If Envelope Completed** If *Logic*
- 3 **Fetch Assessment by ID** Http Request *Service*
- 4 **Normalize Assessment Data** Code *Logic*
- 5 **If Assessment Exists** If *Logic*
- 6 **Update Contract Status in Supabase** Supabase *Service*
- 7 **Upsert Client in Supabase** Http Request *Service*
- 8 **If Client Is Pilot** If *Logic*
- 9 **Fetch Signed Contract via HTTP** Http Request *Service*
- 10 **Send Pilot Welcome via Outlook** Microsoft Outlook *Service*
- 11 **Create Welcome Email Draft** Http Request *Service*
- 12 **Build Stripe Parameters** Code *Logic*
- 13 **Generate Session Token** Code *Logic*
- 14 **Record Draft Email Cost** Execute Workflow *Logic*
- 15 **Send Welcome Email via Outlook** Microsoft Outlook *Service*
- 16 **Create Customer in Stripe** Http Request *Service*
- 17 **Create Onboarding Session in Supabase** Supabase *Service*
- 18 **Create Checkout in Stripe** Http Request *Service*
- 19 **Wait 24 Hours Before Invite** Wait *Logic*
- 20 **Save Customer ID in Supabase** Http Request *Service*
- 21 **Send Onboarding Invite via Outlook** Microsoft Outlook *Service*
- 22 **Send Payment Link via Outlook** Microsoft Outlook *Service*
- 23 **Send Internal Notification via Gmail** Gmail *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 23, with 3 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Outlook, Supabase
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Outlook and Supabase accounts. 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 23 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 23 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%2Fprocess-signed-docusign-contracts-with-supabase-and-claude)
- **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.

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

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Chat with Supabase** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/chat-with-supabase)
- [**Extract timesheet data with Mistral and Gmail** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/extract-timesheet-data-with-mistral-and-gmail)
- [**AI agent to chat with OpenAI and Supabase** 22 steps · calls a model · Supabase, Supabase vectors](https://millionrounds.com/workflow/ai-agent-to-chat-with-openai-and-supabase)
- [**Automate legal lien documents with Gemini and Apify** 22 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/automate-legal-lien-documents-with-gemini-and-apify)
- [**Classify and file email PDF documents with Gmail and Drive** 22 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/classify-and-file-email-pdf-documents-with-gmail-and-drive)
- [**Sync Supabase Storage files into a chat agent with OpenAI** 22 steps · calls a model · Supabase, Supabase vectors](https://millionrounds.com/workflow/sync-supabase-storage-files-into-a-chat-agent-with-openai)
