CRM & Sales
0244 HubSpot Mailchimp Create Scheduled
0244 HubSpot Mailchimp Create Scheduled
Scheduled
Medium
5
Nodes
Scheduled
Trigger
Medium
Complexity
7/22/2025
Added
Workflow Overview
Total Nodes
5
Node Types
4
Node Types
function Item
Get last execution timestamp, Set new last execution timestamp
2 nodes
cron
Every day at 07:00
1 node
hubspot
Create/Update contact
1 node
mailchimp
Get changed members
1 node
Workflow JSON
4.06 KB
{
"meta": {
"instanceId": "237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9"
},
"name": "0244 HubSpot Mailchimp Create Scheduled",
"nodes": [
{
"id": "35451a0c-1ad5-4c02-804b-d19afd282b09",
"name": "Get last execution timestamp",
"type": "n8n-nodes-base.functionItem",
"position": [
540,
100
],
"parameters": {
"functionCode": "// Code here will run once per input item.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\n\n// Add a new field called 'myNewField' to the JSON of the item\nconst staticData = getWorkflowStaticData('global');\n\nif(!staticData.lastExecution){\n staticData.lastExecution = new Date();\n}\n\nitem.executionTimeStamp = new Date();\nitem.lastExecution = staticData.lastExecution;\n\n\nreturn item;"
},
"typeVersion": 1
},
{
"id": "18ff2308-216e-4...Showing first 1000 characters. Click "Expand" to view the full JSON.