Send DocuSign envelopes with Supabase contract data
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when another workflow calls it. Along the way it connects Supabase. It also calls account-d.docusign.com and account.docusign.com over HTTP.
How it runs
Trigger: When another workflow calls it.
- Fetch Assessment from Supabase (Supabase): get many
- Compose Contract HTML Code (Code): runs custom JavaScript code
- Encode Contract HTML (Code): runs custom JavaScript code
- Check SBX Environment (If): checks a condition and branches into true / false
- Post to DocuSign JWT API (SBX) (HTTP Request): calls an HTTP API (POST)
- Post to DocuSign JWT API (HTTP Request): calls an HTTP API (POST)
- Post for DS Access Token (SBX) (HTTP Request): calls account-d.docusign.com (POST)
- Post for DocuSign Access Token (HTTP Request): calls account.docusign.com (POST)
- Post to Create DS Envelope (SBX) (HTTP Request): calls an HTTP API (POST)
- Post to Create DocuSign Envelope (HTTP Request): calls an HTTP API (POST)
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: account-d.docusign.com, account.docusign.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Supabase
n8n-nodes-base.supabase - If
n8n-nodes-base.if
From the author
Quick overview This workflow is triggered by another n8n workflow, fetches an assessment record from Supabase, generates an HTML contract, and sends it as a DocuSign envelope using JWT authentication in either production or sandbox based on the recipient…