Utiliser Typeform, Google Docs et Gmail pour générer et envoyer des documents contractuels
Ceci est unDocument Extractionworkflow d'automatisation du domainecontenant 5 nœuds.Utilise principalement des nœuds comme Set, Gmail, GoogleDocs, GoogleDrive, TypeformTrigger. Générer et envoyer des documents contractuels avec Typeform, Google Docs et Gmail
- •Compte Google et informations d'identification Gmail API
- •Informations d'identification Google Drive API
Nœuds utilisés (5)
Catégorie
{
"nodes": [
{
"name": "Déclencheur Typeform",
"type": "n8n-nodes-base.typeformTrigger",
"position": [
100,
300
],
"parameters": {
"formId": "your-form-id"
},
"credentials": {
"typeformApi": "Typeform API"
},
"typeVersion": 1,
"id": "D-clencheur-Typeform-0"
},
{
"name": "Définir les variables",
"type": "n8n-nodes-base.set",
"position": [
300,
300
],
"parameters": {
"values": {
"string": [
{
"name": "client_name",
"value": "={{$json[\"answers\"][0].text}}"
},
{
"name": "project_scope",
"value": "={{$json[\"answers\"][1].text}}"
},
{
"name": "deadline",
"value": "={{$json[\"answers\"][2].text}}"
},
{
"name": "email",
"value": "={{$json[\"answers\"][3].email}}"
}
]
}
},
"typeVersion": 1,
"id": "D-finir-les-variables-1"
},
{
"name": "Remplir le modèle de contrat",
"type": "n8n-nodes-base.googleDocs",
"position": [
500,
300
],
"parameters": {
"mode": "template",
"fields": [
{
"name": "{{client_name}}",
"value": "={{$json[\"client_name\"]}}"
},
{
"name": "{{project_scope}}",
"value": "={{$json[\"project_scope\"]}}"
},
{
"name": "{{deadline}}",
"value": "={{$json[\"deadline\"]}}"
}
],
"documentId": "your-template-id"
},
"credentials": {
"googleApi": "Google API"
},
"typeVersion": 1,
"id": "Remplir-le-mod-le-de-contrat-2"
},
{
"name": "Exporter en PDF",
"type": "n8n-nodes-base.googleDrive",
"position": [
700,
300
],
"parameters": {
"fileId": "={{$node[\"Fill Contract Template\"].json[\"documentId\"]}}",
"mimeType": "application/pdf",
"operation": "export"
},
"credentials": {
"googleApi": "Google API"
},
"typeVersion": 1,
"id": "Exporter-en-PDF-3"
},
{
"name": "Envoyer par e-mail",
"type": "n8n-nodes-base.gmail",
"position": [
900,
300
],
"parameters": {
"text": "Hi {{$json[\"client_name\"]}},\n\nPlease find attached your contract.\n\nRegards,\nYour Company",
"subject": "Your Contract",
"toEmail": "={{$json[\"email\"]}}",
"fromEmail": "your-email@example.com",
"attachments": [
{
"binaryPropertyName": "data"
}
]
},
"credentials": {
"gmailOAuth2": "Gmail OAuth"
},
"typeVersion": 1,
"id": "Envoyer-par-e-mail-4"
}
],
"connections": {
"Exporter-en-PDF-3": {
"main": [
[
{
"node": "Envoyer-par-e-mail-4",
"type": "main",
"index": 0
}
]
]
},
"D-finir-les-variables-1": {
"main": [
[
{
"node": "Remplir-le-mod-le-de-contrat-2",
"type": "main",
"index": 0
}
]
]
},
"D-clencheur-Typeform-0": {
"main": [
[
{
"node": "D-finir-les-variables-1",
"type": "main",
"index": 0
}
]
]
},
"Remplir-le-mod-le-de-contrat-2": {
"main": [
[
{
"node": "Exporter-en-PDF-3",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Extraction de documents
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Abbas Ali
@abbas12142Automation Engineer passionate about building smart, scalable workflows with n8n. I specialize in API integrations, webhook handling, and streamlining business tasks using low-code tools. From AI-powered bots to real-time data pipelines, I love solving problems with automation. Let’s turn manual processes into efficient systems!
Partager ce workflow