IFTTT: Maker Webhooks
How to configure IFTTT Maker Webhooks service?
Working configuration:
Ingredients
- Send: "Event with 3 JSON values" (JSON payload containing value1, value2, value3)
- Trigger: "Receive a web request" (Value1, Value2, Value3 ingredients)
http
POST /trigger/web_request/with/key/MyUniqApiKey HTTP/2
Host: maker.ifttt.com
content-type: application/json
content-length: 68
json
{
"example": ["lorem","ipsum"],
"value1":"foo",
"value2":"bar"
}
Ingredients:
txt
Value1: foo
Value2: bar
Value3: none
JSON Payload
- Send: "Event with an arbitrary JSON payload" (arbitrary JSON payload)
- Trigger: "Receive a web request with a JSON payload" (JsonPayload ingredient)
Attention
Note the /json/
part in the webhook address.
This specifies whether the request contains arbitrary JSON or with required keys.
http
POST /trigger/web_request_json/json/with/key/MyUniqApiKey HTTP/2
Host: maker.ifttt.com
content-type: application/json
content-length: 68
json
{
"example": ["lorem","ipsum"],
"value1":"foo",
"value2":"bar"
}
Ingredients:
txt
JsonPayload: {"example": ["lorem","ipsum"], "value1": "foo", "value2": "bar"}
Not working configurations:
JSON Payload → Ingredients
- Send: "Event with an arbitrary JSON payload" (arbitrary JSON payload)
- Trigger: "Receive a web request" (Value1, Value2, Value3 ingredients)
http
POST /trigger/web_request/json/with/key/MyUniqApiKey HTTP/2
Host: maker.ifttt.com
content-type: application/json
content-length: 68
json
{
"example": ["lorem","ipsum"],
"value1":"foo",
"value2":"bar"
}
Ingredients:
txt
Value1: none
Value2: none
Value3: none
Ingredients → JSON Payload
- Send: "Event with 3 JSON values" (JSON payload containing value1, value2, value3)
- Trigger: "Receive a web request with a JSON payload" (JsonPayload ingredient)
http
POST /trigger/web_request_json/with/key/MyUniqApiKey HTTP/2
Host: maker.ifttt.com
content-type: application/json
content-length: 68
json
{
"example": ["lorem","ipsum"],
"value1":"foo",
"value2":"bar"
}
Ingredients:
txt
JsonPayload: none