{ "name": "OneClick example", "flow": [ { "id": 1, "module": "gateway:CustomWebHook", "version": 1, "parameters": { "hook": 904099, "maxResults": 1 }, "mapper": {}, "metadata": { "designer": { "x": 0, "y": 0 }, "restore": { "parameters": { "hook": { "data": { "editable": "true" }, "label": "OneClick example" } } }, "parameters": [ { "name": "hook", "type": "hook:gateway-webhook", "label": "Webhook", "required": true }, { "name": "maxResults", "type": "number", "label": "Maximum number of results" } ], "interface": [ { "name": "identifier", "type": "text" }, { "name": "resource", "type": "text" }, { "name": "view", "type": "text" }, { "name": "userId", "type": "text" }, { "name": "companyId", "type": "text" }, { "name": "selectedIds", "type": "text" }, { "name": "fields", "type": "text" }, { "name": "__IMTHEADERS__", "spec": [ { "name": "name", "type": "text", "label": "Name" }, { "name": "value", "type": "text", "label": "Value" } ], "type": "array", "label": "Headers" } ] } }, { "id": 7, "module": "pipedrive:CreateNote", "version": 2, "parameters": { "__IMTCONN__": 1855905 }, "filter": { "name": "Auth", "conditions": [ [ { "a": "{{get(map(1.`__IMTHEADERS__`; \"value\"; \"name\"; \"authorization\"); 1)}}", "b": "123456", "o": "text:equal" } ] ] }, "mapper": { "content": "OneClick says hello!", "deal_id": "{{1.selectedIds}}" }, "metadata": { "designer": { "x": 300, "y": 0 }, "restore": { "expect": { "pinned_to_deal_flag": { "mode": "chose" }, "pinned_to_person_flag": { "mode": "chose" }, "pinned_to_organization_flag": { "mode": "chose" } }, "parameters": { "__IMTCONN__": { "data": { "scoped": "true", "connection": "pipedrive-apikey" }, "label": "OneClick tenant" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:pipedrive-auth,pipedrive-apikey", "label": "Connection", "required": true } ], "expect": [ { "name": "content", "type": "text", "label": "Content", "required": true }, { "name": "deal_id", "type": "number", "label": "Deal ID" }, { "name": "person_id", "type": "number", "label": "Person" }, { "name": "org_id", "type": "number", "label": "Organization" }, { "name": "add_time", "type": "date", "label": "Add time" }, { "name": "pinned_to_deal_flag", "type": "boolean", "label": "Pinned to deal flag" }, { "name": "pinned_to_organization_flag", "type": "boolean", "label": "Pinned to organization flag" }, { "name": "pinned_to_person_flag", "type": "boolean", "label": "Pinned to person flag" }, { "name": "content", "type": "text", "label": "Content", "required": true }, { "name": "deal_id", "type": "number", "label": "Deal ID" }, { "name": "person_id", "type": "number", "label": "Person" }, { "name": "org_id", "type": "number", "label": "Organization" }, { "name": "add_time", "type": "date", "label": "Add time" }, { "name": "pinned_to_deal_flag", "type": "boolean", "label": "Pinned to deal flag" }, { "name": "pinned_to_organization_flag", "type": "boolean", "label": "Pinned to organization flag" }, { "name": "pinned_to_person_flag", "type": "boolean", "label": "Pinned to person flag" } ] } } ], "metadata": { "instant": true, "version": 1, "scenario": { "roundtrips": 1, "maxErrors": 3, "autoCommit": true, "autoCommitTriggerLast": true, "sequential": false, "confidential": false, "dataloss": false, "dlq": false, "freshVariables": false }, "designer": { "orphans": [] }, "zone": "eu1.make.com" } }