Send Adyen payment links the moment a Docusign contract is signed

By General Input

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.

Integrations

  • Docusign
  • Adyen
  • Gmail

Type

Agentic Task

Categories

  • Finance
  • Sales

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.

Related prompts

Explore more prompts
Win back LiveChat visitors whose chats went unansweredChase the paperwork every new client and vendor still owesFile Gmail attachments into storage with names you can findCandidate rediscovery desk for your archived Lever applicantsLaytime and demurrage claim workspace for chartering opsKajabi customer support console for member access fixesRun your application review round on Jotform submissionsRun your nutrition clients' weekly meal plans from one consoleReplace the dispatch whiteboard with a live production boardJob search command center with a self-filling pipeline board