E-signature + Stripe — automate invoicing after signing
Sign + pay workflows turn signed contracts into collected revenue automatically. Here's the architecture.
The "sign and pay" workflow: on contract signing, trigger Stripe invoice or subscription creation. Removes the manual "now we send the invoice" step.
The basic flow
1. Customer agrees to SaaS subscription verbally 2. Contract generated with pricing 3. Customer signs via SignBolt 4. On envelope.completed webhook: - Create Stripe customer - Create Stripe subscription with the agreed price - Customer receives Stripe's hosted checkout link - Customer pays 5. Service provisioned
Implementation
```javascript // SignBolt webhook handler app.post('/webhooks/signbolt', async (req, res) => { if (req.body.type === 'envelope.completed') { const envelope = req.body;
// Extract customer info from envelope metadata const { customer_email, plan_id } = envelope.custom_fields;
// Create Stripe customer + subscription const customer = await stripe.customers.create({ email: customer_email, metadata: { envelope_id: envelope.envelope_id }, });
const subscription = await stripe.subscriptions.create({ customer: customer.id, items: [{ price: plan_id }], trial_period_days: 14, });
// Email customer with payment link await sendPaymentLink(customer_email, subscription); }
res.status(200).send(); }); ```
Variations
### One-time payment Use Stripe Checkout Session instead of Subscription.
### Per-invoice payment Create Stripe invoice on each envelope completion.
### Payment authorization before signing Reverse: customer authorizes Stripe payment first, signs contract second. Reduces collection risk.
Some platforms do this natively
- PandaDoc — native Stripe integration with payment within signed document
- SignBolt — integration via webhook (as above); native Stripe UI coming 2027
Next
Free, no signup, 5 ops per day.
All 6 tools, 25 MB files, zero ads. Go Pro for 100 MB + batches + unlimited.