curl --location '/smartflows//targets/condition' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"items": [
{
"key": "url",
"operator": "contains",
"value": "https://www.incomaker.com/link.xhtml"
}
],
"noConditionDelay": {
"value": 5,
"unit": "minute"
},
"filter": "click"
}'{
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"name": "Custom activity name",
"campaignUuid": "4a06896c-81b3-44f4-b493-2057bef951a2",
"nextActivityType": "triggers"
}