{ "meta": { "instanceId": "workflow-3e86ec67", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:45.921070", "updatedAt": "2025-09-29T07:07:45.921145", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "nodes": [ { "id": "3ebbf865-26f6-456f-83bd-33fa72bc09ea", "name": "Token SuiteCRM", "type": "n8n-nodes-base.httpRequest", "position": [ 480, 800 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {}, "requestMethod": "POST", "bodyParametersUi": { "parameter": [ { "name": "grant_type", "value": "client_credentials" }, { "name": "client_id", "value": "IDVALUE" }, { "name": "client_secret", "value": "PWDVALUE" } ] }, "allowUnauthorizedCerts": true }, "notesInFlow": true, "typeVersion": 1, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "763bd0bc-7c08-496d-82b7-1fb021c1e6e1", "name": "CaptainMail", "type": "n8n-nodes-base.httpRequest", "position": [ -360, 560 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": { "response": { "response": { "responseFormat": "json" } } } }, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "9d1f03eb-4be2-4e72-bc86-723d92869888", "name": "If mail ok", "type": "n8n-nodes-base.if", "position": [ 220, 580 ], "parameters": { "options": {}, "conditions": { "options": { "leftValue": "", "caseSensitive": true, "typeValidation": "strict" }, "combinator": "and", "conditions": [ { "id": "ea7e2b2b-35cc-469c-b01b-eeb4f0030aa5", "operator": { "name": "filter.operator.equals", "type": "string", "operation": "equals" }, "leftValue": "={{ $json.result }}", "rightValue": "invalid" } ] } }, "typeVersion": 2, "notes": "This if node performs automated tasks as part of the workflow." }, { "id": "03ffff8c-401a-4723-80c6-df702cda2ba5", "name": "If Credits OK", "type": "n8n-nodes-base.if", "position": [ -180, 560 ], "parameters": { "options": {}, "conditions": { "options": { "leftValue": "", "caseSensitive": true, "typeValidation": "strict" }, "combinator": "and", "conditions": [ { "id": "007b0ec4-870d-48d6-a961-adff23ceabd4", "operator": { "type": "number", "operation": "lt" }, "leftValue": "={{ $json.credits }}", "rightValue": 100 } ] } }, "typeVersion": 2, "notes": "This if node performs automated tasks as part of the workflow." }, { "id": "487b4746-48d3-40c2-a21c-0a3aa38ba780", "name": "Tally Forms Trigger", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [ -600, 560 ], "parameters": {}, "typeVersion": 1, "notes": "This executeWorkflowTrigger node performs automated tasks as part of the workflow." }, { "id": "2ff81440-ffb4-4d92-8fb0-0a46f6488a2e", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [ -420, 382.5935162094766 ], "parameters": { "width": 221.29675810473822, "height": 324.588528678304, "content": "## CaptainVerify \n**Verify your email !** To reduce bounce email for your future campains. [Link]({{ $env.WEBHOOK_URL }}\n\nChange **YOURAPIKEY** with yours" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "73d00252-c081-451c-84df-67e44bf0bb11", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [ -60, 180 ], "parameters": { "color": 5, "width": 266.18453865336653, "height": 395.6608478802989, "content": "## Warning about your credits \nNotify with a message and level of credits in your NextCloud Discussion\n\nChange **URLSERVERNEXTCLOUD** with yours\nand **DISCUSSIONCODE** with the code of target discussion" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "da8758f6-82f6-481c-97cc-40292579d723", "name": "Notif Talk credits", "type": "n8n-nodes-base.httpRequest", "position": [ 20, 420 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": { "bodyContentType": "json", "bodyContentCustomMimeType": "application/json" }, "requestMethod": "POST", "authentication": "{{ $credentials.basicAuth }}", "jsonParameters": true, "bodyParametersJson": "={\n\"message\":\"Low credits for CaptainVerify Mail. Balance = {{ $json[\"credits\"] }}\"\n}", "headerParametersJson": "={\"OCS-APIRequest\":\"true\"}" }, "notesInFlow": true, "typeVersion": 1, "continueOnFail": true, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "569b9fd4-85d0-4300-8dc1-ab71fc5c2d09", "name": "Notif Talk bad email", "type": "n8n-nodes-base.httpRequest", "position": [ 420, 420 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": { "bodyContentType": "json", "bodyContentCustomMimeType": "application/json" }, "requestMethod": "POST", "authentication": "{{ $credentials.basicAuth }}", "jsonParameters": true, "bodyParametersJson": "={\n\"message\":\"Invalid mail on submission form for contact : {{ $('Execute Workflow Trigger').item.json[\"body\"][\"data\"][\"fields\"][1][\"value\"] }} et mail : {{ $('CaptainMail').item.json[\"email\"] }} \"\n}", "headerParametersJson": "={\"OCS-APIRequest\":\"true\"}" }, "notesInFlow": true, "typeVersion": 1, "continueOnFail": true, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "6b555580-b66d-485d-b1b7-dd9fbd580294", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [ 340, 180 ], "parameters": { "color": 5, "width": 266.18453865336653, "height": 395.6608478802989, "content": "## Warning bad email \nNotify with a message for contact with invalid mail in your NextCloud Discussion\n\nChange **URLSERVERNEXTCLOUD** with yours\nand **DISCUSSIONCODE** with the code of target discussion" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "fcc84bdb-9ae2-44c9-a038-c9282cfe1373", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [ 420, 600 ], "parameters": { "color": 3, "width": 226.00997506234387, "height": 358.40399002493757, "content": "## Auth SuiteCRM \n**Get Token** with V8 API. [Guide]({{ $env.API_BASE_URL }}\n\nChange **SUITECRMURLSERVER** with yours\nChange **IDVALUE** and **PWDVALUE** with a specific user in SuiteCRM" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "d9a96370-f545-4daf-a2e2-af7efd5fda42", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [ -680, 461.97007481296754 ], "parameters": { "color": 7, "height": 252.8428927680797, "content": "## WEBHOOK \n**TRIGGER** with the FormsTool of your choice." }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "8e50db5a-5945-468c-ae92-239b8eb74f31", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [ 1060, 120 ], "parameters": { "width": 221.29675810473822, "height": 80, "content": "## CaptainVerify \n" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "81deb53f-4161-42ef-9eec-d075e694aa04", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [ 1060, 220 ], "parameters": { "color": 5, "width": 220.39900249376552, "height": 80, "content": "## NextCloud\n" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "2aea4eaf-d7fa-4e87-ae75-e52bc3f385c2", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [ 660, 600 ], "parameters": { "color": 3, "width": 226.00997506234387, "height": 358.40399002493757, "content": "## Create Leads \nAdjust **Json** with your data\n\nChange **SUITECRMURLSERVER** with yours\nChange **IDVALUE** and **PWDVALUE** with a specific user in SuiteCRM" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "2550bf07-3d3b-497a-b14e-8626ab478659", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [ 1060, 320 ], "parameters": { "color": 3, "width": 223.46633416458826, "height": 80, "content": "## SuiteCRM \n" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "18324e1a-6873-466c-9eab-2292eb2fe1f4", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [ 920, 600 ], "parameters": { "color": 4, "height": 357.1321695760598, "content": "## Brevo\nCreate Contact with data and **Link with the id of SuiteCRM** Lead in a dedicated custom field in Brevo" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "df474fee-be22-4fda-9cfc-61e46492e30c", "name": "Create Lead SuiteCRM", "type": "n8n-nodes-base.httpRequest", "position": [ 720, 800 ], "parameters": { "url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": { "response": { "response": { "responseFormat": "json" } } }, "jsonBody": "={\"data\": {\n\"type\": \"Leads\",\n\"attributes\": { \n\"last_name\": \"{{ $('Tally Forms Trigger').item.json[\"body\"][\"data\"][\"fields\"][1][\"value\"] }}\",\n\"status\": \"Hot\",\n\"email1\": \"{{ $('CaptainMail').item.json[\"email\"] }}\",\n\"lead_source\": \"FormsChoice\",\n\"assigned_user_id\": \"491cf554-4d5e-b06a-7a61-605210d85367\",\n\"lead_source_description\": \"FORMNAME Submission\"}\n}\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": { "parameters": [ { "name": "Authorization", "value": "=Bearer {{$node[\"Token SuiteCRM\"].json[\"access_token\"]}}" }, { "name": "Content-Type", "value": "application/vnd.api+json" } ] } }, "notesInFlow": true, "typeVersion": 3, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "635665d3-f35b-42b7-b9d5-427f46d1867f", "name": "Notif Talk Lead created", "type": "n8n-nodes-base.httpRequest", "position": [ 1260, 800 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": { "bodyContentType": "json", "bodyContentCustomMimeType": "application/json" }, "requestMethod": "POST", "authentication": "{{ $credentials.basicAuth }}", "jsonParameters": true, "bodyParametersJson": "={\n\"message\":\"Lead créé ! Saisie du Formulaire choix séance. Contact : {{ $('Tally Forms Trigger').item.json[\"body\"][\"data\"][\"fields\"][1][\"value\"] }} et mail : {{ $('CaptainMail').item.json[\"email\"] }} \"\n}", "headerParametersJson": "={\"OCS-APIRequest\":\"true\"}" }, "notesInFlow": true, "typeVersion": 1, "continueOnFail": true, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "84fda59b-5d9c-42aa-9ce6-2c3fc837e04e", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [ 1180, 600 ], "parameters": { "color": 5, "width": 266.18453865336653, "height": 357.50623441396476, "content": "## Notify lead created \nMessage for a lead created in your selected NextCloud discussion\n\nChange **URLSERVERNEXTCLOUD** with yours\nand **DISCUSSIONCODE** with the code of target discussion" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "2f55803e-bb3a-482a-9d12-5fdeefbbac6c", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [ 1060, 420 ], "parameters": { "color": 4, "width": 224.73815461346635, "height": 80, "content": "## Brevo" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "fbf39f60-e895-4477-9f62-9ec6965a84cc", "name": "Brevo Create Contact", "type": "n8n-nodes-base.sendInBlue", "position": [ 980, 800 ], "parameters": { "email": "{{ $('CaptainMail').item.json[\"email\"] }}", "resource": "contact", "createContactAttributes": { "attributesValues": [ { "fieldName": "NOM", "fieldValue": "={{ $('Tally Forms Trigger').item.json.body.data.fields[1].value }}" }, { "fieldName": "PRENOM", "fieldValue": "={{ $('Tally Forms Trigger').item.json.body.data.fields[2].value }}" }, { "fieldName": "LEADS_ID", "fieldValue": "={{ $('Create Lead SuiteCRM').item.json.data.id }}" } ] } }, "notesInFlow": true, "typeVersion": 1, "notes": "This sendInBlue node performs automated tasks as part of the workflow." } ], "pinData": {}, "connections": { "3ebbf865-26f6-456f-83bd-33fa72bc09ea": { "main": [ [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-f2a07535", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-0205aea5", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-51b00569", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-a9868c55", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-ec35f3a3", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-ae46397e", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-2891221b", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ebbf865-26f6-456f-83bd-33fa72bc09ea-35d12cab", "type": "main", "index": 0 } ] ] }, "763bd0bc-7c08-496d-82b7-1fb021c1e6e1": { "main": [ [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-72f468d5", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-bd8c8402", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-6e06d41d", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-f2343c95", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-6d2675e1", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-ae96f521", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-4f58a6b8", "type": "main", "index": 0 } ], [ { "node": "error-handler-763bd0bc-7c08-496d-82b7-1fb021c1e6e1-ab1569c3", "type": "main", "index": 0 } ] ] }, "da8758f6-82f6-481c-97cc-40292579d723": { "main": [ [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-397fd9a2", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-223fc010", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-908424b3", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-052081cc", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-8696f902", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-0cbfffa4", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-8f00b183", "type": "main", "index": 0 } ], [ { "node": "error-handler-da8758f6-82f6-481c-97cc-40292579d723-b4c8c9df", "type": "main", "index": 0 } ] ] }, "569b9fd4-85d0-4300-8dc1-ab71fc5c2d09": { "main": [ [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-9a243ffa", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-39c55eba", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-d8b8a91c", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-dae7c99a", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-ccbb74d5", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-e2dcbb63", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-83c73049", "type": "main", "index": 0 } ], [ { "node": "error-handler-569b9fd4-85d0-4300-8dc1-ab71fc5c2d09-434b1129", "type": "main", "index": 0 } ] ] }, "df474fee-be22-4fda-9cfc-61e46492e30c": { "main": [ [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-a6f1d4a5", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-2cdd0c6f", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-80919099", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-af6d8aa3", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-a7bb4aa7", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-80c00f6e", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-6487a6b9", "type": "main", "index": 0 } ], [ { "node": "error-handler-df474fee-be22-4fda-9cfc-61e46492e30c-b77dbc06", "type": "main", "index": 0 } ] ] }, "635665d3-f35b-42b7-b9d5-427f46d1867f": { "main": [ [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-4d9de04a", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-c1d96589", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-b90cd0e8", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-2407b5ff", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-8d09fb18", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-592ab583", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-bd2fab4e", "type": "main", "index": 0 } ], [ { "node": "error-handler-635665d3-f35b-42b7-b9d5-427f46d1867f-436bbcb6", "type": "main", "index": 0 } ] ] } }, "name": "Httprequest Workflow", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "description": "Automated workflow: Httprequest Workflow. This workflow integrates 6 different services: stickyNote, httpRequest, stopAndError, sendInBlue, if. It contains 34 nodes and follows best practices for error handling and security.", "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "notes": "Excellent quality workflow: Httprequest Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }