Workflow: If Workflow
Integrations: httpRequest, hubspot, hubspotTrigger, if, slack

{"meta": {"instanceId": "workflow-a90eb8b2", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:45.674507", "updatedAt": "2025-09-29T07:07:45.674512", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "nodes": [{"id": "9a0c7f24-a344-4955-8bdc-b129e5d8d619", "name": "Check Result", "type": "n8n-nodes-base.if", "notes": "IF\ndeliverability is not good\nOR\nDomain is not valid\nOR\nEmail is Disposable", "position": [860, 420], "parameters": {"conditions": {"string": [{"value1": "={{$json[\"statusCode\"]}}", "value2": "200"}], "boolean": []}, "combineOperation": "any"}, "typeVersion": 1}, {"id": "b4d3619e-1327-4b79-a81b-caed93efa5aa", "name": "Post to Slack", "type": "n8n-nodes-base.slack", "position": [1060, 440], "parameters": {"text": "=:warning: New Company with suspicious domain :warning:\n*Name: * {{$node[\"Get company information\"].json[\"properties\"][\"name\"][\"value\"]}}\n*Domain: * {{$node[\"Get company information\"].json[\"properties\"][\"website\"][\"value\"]}}\n*ID: * {{$node[\"Get company information\"].json[\"companyId\"]}}", "channel": "#hubspot-alerts", "attachments": [], "otherOptions": {}}, "credentials": {"slackApi": {"id": "{{ $credentials.slackApi.id }}", "name": "Slack Access Token"}}, "typeVersion": 1, "notes": "This slack node performs automated tasks as part of the workflow."}, {"id": "f0e82b09-8311-49c5-b295-694ea5147b50", "name": "On new company created", "type": "n8n-nodes-base.hubspotTrigger", "position": [320, 420], "webhookId": "748453fc-65ef-48bc-bae9-a5a6d13ade54", "parameters": {"eventsUi": {"eventValues": [{"name": "company.creation"}]}, "additionalFields": {}}, "credentials": {"hubspotDeveloperApi": {"id": "{{ $credentials.hubspotDeveloperApi.id }}", "name": "Hubspot Developer account"}}, "typeVersion": 1, "notes": "This hubspotTrigger node performs automated tasks as part of the workflow."}, {"id": "81dd8835-e61f-44de-b650-23b35fbebb0d", "name": "Get company information", "type": "n8n-nodes-base.hubspot", "position": [500, 420], "parameters": {"resource": "company", "companyId": "={{$json[\"companyId\"]}}", "operation": "get", "additionalFields": {}}, "credentials": {"hubspotApi": {"id": "{{ $credentials.hubspotApi.id }}", "name": "Hubspot account"}}, "typeVersion": 1, "notes": "This hubspot node performs automated tasks as part of the workflow."}, {"id": "62017a8b-a6cd-452f-a8a4-576dbd10dc4e", "name": "Try to load the domain", "type": "n8n-nodes-base.httpRequest", "position": [660, 420], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {"response": {"response": {"fullResponse": true, "responseFormat": "text"}}}}, "typeVersion": 3, "notes": "This httpRequest node performs automated tasks as part of the workflow."}], "connections": {"62017a8b-a6cd-452f-a8a4-576dbd10dc4e": {"main": [[{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-32e12125", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-39457b47", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-06badeaf", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-7113e782", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-dafe7683", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-86bfd80d", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-70b3eac3", "type": "main", "index": 0}], [{"node": "error-handler-62017a8b-a6cd-452f-a8a4-576dbd10dc4e-2819b0b0", "type": "main", "index": 0}]]}, "b4d3619e-1327-4b79-a81b-caed93efa5aa": {"main": [[{"node": "error-handler-b4d3619e-1327-4b79-a81b-caed93efa5aa-1080b993", "type": "main", "index": 0}]]}}, "name": "If Workflow", "description": "Automated workflow: If Workflow. This workflow processes data and performs automated tasks.", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: If Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}