Hi Team,
I am receiving custom webhooks from another platform, i want to fwd the same to different platform but in a delay of few seconds. How to do that?
Hi Team,
I am receiving custom webhooks from another platform, i want to fwd the same to different platform but in a delay of few seconds. How to do that?
Welcome to the Make community!
You can do that by setting the Webhook âJSON Pass-throughâ to YES (it is âNoâ by default), when creating or editing a webhook.
Then, you will be able to map the entire JSON body payload in another module like the HTTP âMake a requestâ module.
You can delay by adding a Sleep module in-between.
You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.
Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block
Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.
Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.
JSON - Copy and Paste this directly in the scenario editor
{"subflows":[{"flow":[{"id":99,"module":"gateway:CustomWebHook","version":1,"parameters":{"hook":1,"maxResults":1},"mapper":{},"metadata":{"designer":{"x":530,"y":634},"parameters":[{"name":"hook","type":"hook:gateway-webhook","label":"Webhook","required":true},{"name":"maxResults","type":"number","label":"Maximum number of results"}]}},{"id":100,"module":"util:FunctionSleep","version":1,"parameters":{},"mapper":{"duration":"5"},"metadata":{"designer":{"x":772,"y":636,"name":"Sleep 5s"}}},{"id":101,"module":"http:ActionSendData","version":3,"parameters":{"handleErrors":true,"useNewZLibDeCompress":true},"mapper":{"url":"https://google.com","serializeUrl":false,"method":"get","headers":[],"qs":[],"bodyType":"raw","parseResponse":false,"authUser":"","authPass":"","timeout":"","shareCookies":false,"ca":"","rejectUnauthorized":true,"followRedirect":true,"useQuerystring":false,"gzip":true,"useMtls":false,"contentType":"application/json","data":"{{99.value}}","followAllRedirects":false},"metadata":{"designer":{"x":1014,"y":633},"parameters":[{"name":"handleErrors","type":"boolean","label":"Evaluate all states as errors (except for 2xx and 3xx )","required":true},{"name":"useNewZLibDeCompress","type":"hidden"}]}}]}],"metadata":{"version":1}}
Hope this helps! Let me know if there are any further questions or issues.
â @samliew
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!
Hi,
its not working.
The http should be post right?
I will explain my requirement again.
make.com webhook will receive a trigger, hold it for 5sec then post it to another webhook
Thanks
What is not working?
To allow us to assist you with your scenario, please provide the following:
Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what youâre looking at.
You can upload images here using the Upload icon in the text editor:
Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select âDownload input/output bundlesâ.
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it wonât be modified by the forum:
Method 1: Type code block manually
Add three backticks ```
before and after the content/bundle, like this:
```
content goes here
```
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!
HI,
Plz find details belowâŚthanks
blueprint.json (10.4 KB)
output
[
{
"statusCode": 422,
"headers": [
{
"name": "date",
"value": "Wed, 14 Aug 2024 09:56:03 GMT"
},
{
"name": "server",
"value": "uvicorn"
},
{
"name": "content-length",
"value": "66"
},
{
"name": "content-type",
"value": "application/json"
}
],
"cookieHeaders": [],
"data": {
"detail": "Message sent is not properly formatted, please revise"
},
"fileSize": 66
}
]
Your delay is not set to 5 seconds.
You did not insert the webhook data into your HTTP module.
Hope this helps! Let me know if there are any further questions or issues.
â @samliew
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!
can you help me to configure http to forward the same below content. Now end result is like No contentâŚwhere should i make the changes plzâŚthanks
ââ{
âtickerâ: âUS100â,
âactionâ: âbuyâ,
âquantityâ: â0.01â,
âpointerâ: â9lKatpVG3Q151Ri4u2bXâ
}ââ