Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
DBS1
Contributor III
Contributor III

Webhook Integration in talend

I have developed a job in talend and is published to cloud. I have setup the trigger as Webhook and I have got the Webhook URL.

The Webhook URL is set as endpoint in external application. From, external application when this endpoint is hit the job is getting triggered.

But, I need to understand how to capture the contents or the payload once the endpoint is hit.

Labels (3)
3 Replies
Anonymous
Not applicable

Hello @Dhanoop B S​ ,

To be able to execute a task through a webhook, the source Job must contain a webhook context parameter called resource_webhook_payload,

so to capture the payload content, in the job, you can print the content of context variable context.resource_webhook_payload to a log file

Please refer to the below articles:

https://help.talend.com/r/en-US/Cloud/management-console-user-guide/webhooks-in-talend-cloud-management-console?tocId=L_wVXcytpn_3I2d5zbn2Xw

https://help.talend.com/r/en-US/8.0/studio-user-guide/defining-webhook-parameter-in-talend-studio

 

Best regards

Aiming

 

DBS1
Contributor III
Contributor III
Author

Thanks @Aiming Chen​ 

Could you also please help me what Window threshold and Window duration (in seconds) signifies with the help of an example.

From the link provided above, I am not able to understand clearly for these two parameters.

Anonymous
Not applicable

When generating a webhook URL in Talend Cloud Management Console, you must set the following parameters:

  • Window threshold: defines the number of calls to the service.
  • Window duration (in seconds): defines the number of seconds after the first service call.

0695b00000lxofeAAA.png