User subscription to bot notifications this is where you met the send_me
action. There is one more action that allows you to send any arbitrary requests, it calls send_request
In the configuration of this action, it is written:
url
- the address to which to send the request, you can use {{placeholders}}
method
- method of sending the request (get, post, put, patch)data
- additional parameters for sending, may contain placeholders, for example {{messenger_input_param}}
, besides this, 2 more parameters will always be sent chat_id
and channel
headers
- request headersPossible event branching options: "ok"
and "not_ok"
Block configuration example:
{
"url": "<https://enpqsrtqcpoum00.m.pipedream.net>",
"method": "POST",
"data": {
"data_source": "Kwizbot",
"client_id": "{{messenger_input_param}}"
},
"headers":{
"X-Path":"MyWayIsHighway"
}
}