Workflow: Cron Workflow
Integrations: cron, hubspot, mailchimp, stopAndError

{"meta": {"instanceId": "workflow-f96f913a", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:47.146394", "updatedAt": "2025-09-29T07:07:47.146413", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "nodes": [{"id": "30d8dca1-8e70-443e-a5b0-a048d6e3dc1c", "name": "Every day at 07:00", "type": "n8n-nodes-base.cron", "position": [480, 300], "parameters": {"triggerTimes": {"item": [{"hour": 7}]}}, "typeVersion": 1, "notes": "This cron node performs automated tasks as part of the workflow."}, {"id": "1e7b278f-7c6f-473c-acda-51fa5cf6bd00", "name": "Get new contacts", "type": "n8n-nodes-base.hubspot", "position": [700, 300], "parameters": {"resource": "contact", "operation": "search", "authentication": "{{ $credentials.oAuth2 }}", "filterGroupsUi": {"filterGroupsValues": [{"filtersUi": {"filterValues": [{"value": "={{$today.minus({day:1}).toMillis()}}", "operator": "GTE", "propertyName": "createdate"}, {"value": "={{$today.toMillis()}}", "operator": "LT", "propertyName": "createdate"}]}}]}, "additionalFields": {}}, "credentials": {"hubspotOAuth2Api": {"id": "{{ $credentials.hubspotOAuth2Api.id }}", "name": "HubSpot account 2"}}, "typeVersion": 1, "notes": "This hubspot node performs automated tasks as part of the workflow."}, {"id": "003da27c-752e-47b6-b263-c90060b677f5", "name": "Create member", "type": "n8n-nodes-base.mailchimp", "position": [920, 300], "parameters": {"list": "8965eba136", "email": "={{ $json[\"properties\"].email }}", "status": "subscribed", "options": {}, "mergeFieldsUi": {"mergeFieldsValues": [{"name": "FNAME", "value": "={{ $json[\"properties\"].firstname }}"}, {"name": "LNAME", "value": "={{ $json[\"properties\"].lastname }}"}]}, "authentication": "{{ $credentials.oAuth2 }}"}, "credentials": {"mailchimpOAuth2Api": {"id": "{{ $credentials.mailchimpOAuth2Api.id }}", "name": "Mailchimp account"}}, "typeVersion": 1, "notes": "This mailchimp node performs automated tasks as part of the workflow."}, {"id": "error-18cc7939", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Cron Workflow", "description": "Automated workflow: Cron 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: Cron Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}