Automation platforms
Send Envelopes From Form Submissions
Turn Typeform, Jotform, Tally and Google Forms submissions into SignatureAPI envelopes through an automation tool's inbound webhook.
A form submission can start a signature: the signer’s name and email come from the answers, and one envelope goes out per submission. Typeform, Jotform and Tally send each submission to a webhook URL. Google Forms does it through an Apps Script trigger. No SignatureAPI app is needed.
How the pieces fit
Each form tool posts its own payload. The payload is the submission, not a SignatureAPI request, so the form’s webhook can’t be pointed at the envelope endpoint. Point it at an inbound webhook in an automation tool instead, and let that tool’s HTTP step send the envelope with your key:
- The form sends the submission to the tool’s inbound webhook.
- The tool’s HTTP step calls
POST https://api.signatureapi.com/v1/envelopes. - SignatureAPI emails the signer. Your key stays in the automation tool, never in the form.
Use the page for your tool: Make, Zapier or n8n.
Connect the form
| Form tool | How a submission reaches your URL | Source |
|---|---|---|
| Typeform | Webhook that sends the response data to your URL. Reply 2XX within 30 seconds. | Typeform webhooks |
| Jotform | Settings, Integrations, Webhooks, then enter the URL. Requests time out after 5 seconds by default. | Jotform webhooks |
| Tally | Integrations tab, Connect next to Webhooks. JSON in a POST, reply 2XX within 10 seconds. | Tally webhooks |
| Google Forms | An installable form submit trigger runs an Apps Script function. | Form trigger builder |
For Google Forms, the trigger runs a function in Apps Script, and that function calls the API with UrlFetchApp. The Google Apps Script page has the request code. The function gets the submission in e.response (Event objects).
Send the envelope
HTTP request step
Settings for the "Form submission" request.
| Setting | Value |
|---|---|
| Method | POST |
| URL | https:// |
| Header | X-API-Key: YOUR_API_KEY Store the key in your tool's secret or credential storage when it has one. |
| Header | Content- |
| Body (raw JSON) | The JSON below. |
{
"title": "Service Agreement - Jane Doe",
"message": "Please review and sign the service agreement.",
"metadata": {
"source": "form",
"response_id": "resp_1042"
},
"topics": [
"no_code",
"forms"
],
"documents": [
{
"key": "service_agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"place_key": "signer_signature",
"page": 1,
"top": 172,
"left": 210
}
],
"places": [
{
"key": "signer_signature",
"type": "signature",
"recipient_key": "signer"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "signer",
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
]
}Map the form answers into the body:
recipients[0].nameandrecipients[0].emailcome from the name and email answers. In a Typeform payload, an email answer hastypeemailand anemailkey, and you match it to its question withfield.id(example payload). In a Tally payload, answers are in afieldsarray with a key, label, type and value (Tally webhooks).metadata.response_idcarries the submission id, so the envelope links back to the response. Typeform’sform_response.tokenis the submission id.- The
formstopic groups these envelopes, so a webhook endpoint can receive only them.
To put the answers into the document, send a DOCX with a data object, and the {{ field }} values are merged in. See Templates. Keep sensitive answers out of metadata: it appears in every webhook event.
Get the result back
Register an automation-tool URL as a webhook endpoint in test mode, subscribed to envelope.completed with the forms topic. Anyone who knows that URL can call it, so read the envelope with your key before you act:
HTTP request step
Settings for the "Completed envelope" request.
| Setting | Value |
|---|---|
| Method | GET |
| URL | https:// |
| Header | X-API-Key: YOUR_API_KEY Store the key in your tool's secret or credential storage when it has one. |
Then write the result back to your own records, using metadata.response_id to find the submission. SignatureAPI retries a failed delivery for up to 48 hours, and the same event can arrive twice. See Webhooks.
Related
- Make and Zapier: the HTTP step for the envelope.
- Google Apps Script.
- Templates.
POST /v1/envelopes HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
{
"title": "Service Agreement - Jane Doe",
"message": "Please review and sign the service agreement.",
"metadata": {
"source": "form",
"response_id": "resp_1042"
},
"topics": [
"no_code",
"forms"
],
"documents": [
{
"key": "service_agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"place_key": "signer_signature",
"page": 1,
"top": 172,
"left": 210
}
],
"places": [
{
"key": "signer_signature",
"type": "signature",
"recipient_key": "signer"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "signer",
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
]
}npx signatureapi envelopes create --body - <<'EOF'
{
"title": "Service Agreement - Jane Doe",
"message": "Please review and sign the service agreement.",
"metadata": {
"source": "form",
"response_id": "resp_1042"
},
"topics": [
"no_code",
"forms"
],
"documents": [
{
"key": "service_agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"place_key": "signer_signature",
"page": 1,
"top": 172,
"left": 210
}
],
"places": [
{
"key": "signer_signature",
"type": "signature",
"recipient_key": "signer"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "signer",
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
]
}
EOF{
"name": "create_envelope",
"arguments": {
"title": "Service Agreement - Jane Doe",
"message": "Please review and sign the service agreement.",
"metadata": {
"source": "form",
"response_id": "resp_1042"
},
"topics": [
"no_code",
"forms"
],
"documents": [
{
"key": "service_agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"place_key": "signer_signature",
"page": 1,
"top": 172,
"left": 210
}
],
"places": [
{
"key": "signer_signature",
"type": "signature",
"recipient_key": "signer"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "signer",
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
]
}
}{
"id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"title": "Service Agreement - Jane Doe",
"label": null,
"message": "Please review and sign the service agreement.",
"status": "processing",
"attestation": "none",
"language": "en",
"mode": "test",
"routing": "sequential",
"timezone": "UTC",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"snapshot_url": null,
"branding": {
"logo": null,
"accent_color": "#2463EB",
"email": {
"footer": null,
"logo_position": "left",
"from": "noreply@signatureapi.com"
}
},
"deliverable": {
"id": "del_6FF89lKNyTNamOJCJd1tLL",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"name": null,
"status": "pending",
"type": "standard",
"url": null,
"password": null,
"created_at": "2026-11-02T14:03:11.000Z",
"generated_at": null,
"timezone": "UTC",
"language": "en",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"included_documents": [
"service_agreement"
]
},
"metadata": {
"source": "form",
"response_id": "resp_1042"
},
"sender": {
"name": "Acme Corp Legal",
"email": "legal@acme.example",
"organization": "Acme Corp"
},
"captures": {},
"documents": [
{
"id": "doc_HVl3Nj7XzTzX7jN3lVH5vn",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"key": "service_agreement",
"title": null,
"page_count": 1,
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"page": 1,
"top": 172,
"left": 210,
"place_key": "signer_signature"
}
],
"places": [
{
"key": "signer_signature",
"type": "signature",
"recipient_key": "signer",
"height": 60
}
]
}
],
"recipients": [
{
"id": "re_49r1R2jpPDz8hSpP75ZkPp",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"type": "signer",
"key": "signer",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"ceremony": {
"authentication": [
{
"type": "email_link",
"subject_override": null,
"message_override": null
}
],
"embeddable_in": [],
"redirect_url": null,
"redirect_delay": 3,
"url": null,
"url_variant": "standard"
},
"ceremony_creation": "automatic",
"delivery_type": "email",
"signature_options": [
"typed",
"drawn"
],
"status": "pending",
"status_updated_at": "2026-11-02T14:03:11.000Z",
"completed_at": null
}
],
"topics": [
"no_code",
"forms"
],
"created_at": "2026-11-02T14:03:11.000Z",
"completed_at": null
}{
"type": "https://signatureapi.com/docs/v1/errors/validation-error",
"title": "Validation Error",
"status": 422,
"errors": [
"recipients[0].email must be a valid email address."
]
}Errors every call can return are in Errors and Authentication.