Hi Makers
Here’s how to set up Zapier-like 1-month (or even greater) delay action within Make.com natively using a clever trick.
Watch the video here:
Here’s the blueprint:
{
"subflows": [
{
"flow": [
{
"id": 14,
"module": "util:SetVariables",
"version": 1,
"parameters": {},
"mapper": {
"variables": [
{
"name": "twitter",
"value": "www.twitter.com/hmlchy"
},
{
"name": "subject",
"value": "Make automation"
},
{
"name": "body",
"value": "hello world"
},
{
"name": "exe start ",
"value": "{{var.scenario.executionStartedAt}}"
}
],
"scope": "roundtrip"
},
"metadata": {
"designer": {
"x": -1434,
"y": 559
},
"restore": {
"expect": {
"variables": {
"items": [
null,
null,
null,
null
]
},
"scope": {
"label": "One cycle"
}
}
},
"expect": [
{
"name": "variables",
"type": "array",
"label": "Variables",
"spec": [
{
"name": "name",
"label": "Variable name",
"type": "text",
"required": true
},
{
"name": "value",
"label": "Variable value",
"type": "any"
}
]
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
}
],
"interface": [
{
"name": "twitter",
"label": "twitter",
"type": "any"
},
{
"name": "subject",
"label": "subject",
"type": "any"
},
{
"name": "body",
"label": "body",
"type": "any"
},
{
"name": "exe start ",
"label": "exe start ",
"type": "any"
}
]
}
},
{
"id": 15,
"module": "util:SetVariable2",
"version": 1,
"parameters": {},
"mapper": {
"name": "go!",
"scope": "roundtrip",
"value": "{{if(formatDate(addMinutes(14.`exe start `; 4319); \"x\") > formatDate(now; \"x\"); formatNumber(\"X\"); formatNumber(1; 0))}}"
},
"metadata": {
"designer": {
"x": -941,
"y": 562
},
"restore": {
"expect": {
"scope": {
"label": "One cycle"
}
}
},
"expect": [
{
"name": "name",
"type": "text",
"label": "Variable name",
"required": true
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
},
{
"name": "value",
"type": "any",
"label": "Variable value"
}
],
"interface": [
{
"name": "go!",
"label": "go!",
"type": "any"
}
]
},
"onerror": [
{
"id": 16,
"module": "builtin:Break",
"version": 1,
"parameters": {},
"mapper": {
"retry": true,
"count": "1",
"interval": "4320"
},
"metadata": {
"designer": {
"x": -789,
"y": 837,
"messages": [
{
"category": "badsettings",
"severity": "error",
"message": "This directive requires storing of incomplete executions to be enabled."
}
]
},
"restore": {
"expect": {
"retry": {
"mode": "chose"
}
}
},
"expect": [
{
"name": "retry",
"type": "boolean",
"label": "Automatically complete execution",
"required": true
},
{
"name": "count",
"type": "uinteger",
"label": "Number of attempts",
"validate": {
"min": 1,
"max": 10000
},
"required": true
},
{
"name": "interval",
"type": "uinteger",
"label": "Interval between attempts",
"validate": {
"min": 1,
"max": 44640
},
"required": true
}
]
}
}
]
}
]
}
],
"metadata": {
"version": 1
}
}
Hopefully, it helps, and make sure to comment and let me know your feedback.
Let’s connect on Twitter: https://www.twitter.com/hmlchy