Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to modify event payload to make it compatible to webhook?

zeiss_hs
Level 1
Level 1

Hi,

 

I'm trying to setup Adobe IO events to post notification on Slack for assets created, deleted and so on. However, OOTB if I do, the payload is not compatible to Slack as it requires to have a mandatory property text for Slack which is not part of Adobe IO event payload. 

So, how can I customise the payload to have event posted on Slack?

Best regards,
Himanshu Singhal

1 Reply
shikhartanwar
Employee
Employee

Hi @zeiss_hs,

You cannot directly use a Slack webook with Adobe I/O Events, because of the same constraint you mentioned. You will need a webhook to proxy your event payload to Slack in a compatible format. This can be achieved by a simple Adobe I/O Runtime action (or any other serverless function). Below is a sample repository for inspiration:

https://github.com/hirenoble/webhook_server#update-slack-incoming-webhook