Send Adyen payment links the moment a Docusign contract is signed

When an envelope is signed in Docusign, we generate an Adyen payment link for the contract amount and email it straight to your customer with Gmail.

Agentic Task
DocusignAdyenGmailFinanceSalesEmail Automation
PromptCreate

When a Docusign envelope is completed (all signers have signed), invoice the customer through Adyen automatically and email them the payment link with Gmail.

Trigger: poll Docusign for envelopes that just entered the completed status. Only act on each envelope once.

For each newly completed envelope, read the signer email, the contract amount, and the currency from the envelope metadata (custom fields, form tabs, or the envelope subject if that is where our team records the total). Also capture the envelope id so payments can be reconciled back to the signed contract.

Then call Adyen Create Payment Link with the parsed amount and currency, the customer email as shopperEmail, and the Docusign envelope id as the reference so the payment reconciles back to the signed contract.

Once the payment link is created, use Gmail Send a Message to email the customer a short first-invoice note from the connected account. Thank them for signing, reference the contract by name or id, state the amount and currency owed, and link to the hosted Adyen payment page. Keep the tone warm and brief.

If the envelope amount, currency, or signer email cannot be parsed with high confidence, do not guess and do not send the customer email. Instead, send the account owner a Gmail heads-up describing which envelope tripped the check and what values were seen, so a human can review and invoice manually.

Never invoice the same envelope twice. Track which envelope ids have already been billed and skip any that have already produced a payment link.

Additional information

What does this prompt do?
  • Watches Docusign for envelopes that have just been signed and completed.
  • Pulls the signer email, contract amount, and currency from the signed envelope.
  • Creates an Adyen payment link tied to the envelope so payments reconcile back to the contract.
  • Sends the customer a short, friendly Gmail with the total owed and the link to pay.
  • If anything looks ambiguous, pings the account owner instead of guessing.
What do I need to use this?
  • A Docusign account that receives the contracts you want to invoice against.
  • An Adyen merchant account that can generate hosted payment links.
  • A Gmail address you're happy to send the first invoice from.
How can I customize it?
  • Swap the invoice email copy for your own wording, signature, and payment terms.
  • Change which envelopes qualify (for example, only templates named 'MSA' or 'SOW').
  • Point the heads-up alert at a different owner, shared inbox, or approvals reviewer.

Frequently asked questions

When exactly does the invoice get sent?
As soon as the last signer completes a Docusign envelope. The workflow checks for newly completed envelopes on a recurring schedule and reacts within minutes.
Where does the contract amount come from?
From fields on the Docusign envelope itself, typically a custom field or a filled-in tab on the signed document. If the amount can't be read confidently, the workflow escalates to a human instead of guessing.
What if the currency isn't USD?
The workflow reads the currency directly from the envelope and passes it straight through to Adyen, so EUR, GBP, and other supported currencies work the same way.
Does the customer pay us directly?
Yes. The email links to a hosted Adyen payment page in your name. The customer never handles card details with you, and the payment lands in your Adyen account.
What happens if the signer email is missing or looks wrong?
The workflow refuses to auto-send in that case. It emails the account owner a heads-up with what it saw so you can review and send manually.

Stop chasing signed contracts to send the first invoice.

Turn every signed Docusign envelope into a paid Adyen link without lifting a finger.