Skip to content

Instantly share code, notes, and snippets.

@logic2design
Last active January 17, 2020 01:12
Show Gist options
  • Save logic2design/88ffc15a8ffbf7b2ef39b1d5a38d2d6f to your computer and use it in GitHub Desktop.
Save logic2design/88ffc15a8ffbf7b2ef39b1d5a38d2d6f to your computer and use it in GitHub Desktop.
Global
"this function is used to simplify the sending of a webhook to integromat"
function callIntegromat(url : text, id : number) do
let data := {
RecordID: id
};
http("POST", url, {
'Content-Type': "application/json"
}, data)
end
On Click
'Field Name - Confirmation' := 0;
callIntegromat("webhook url",number(Id))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment