Hello, is it currently possible to adjust the payload to use custom key? I read the documentation, and the payload will just send the document data as payload. What if I want something like below due to the destination system requirement?
{
"text":<doc data>
}
no, but what are you trying to do? You could always create an Appwrite Function and shape the data however you need. https://appwrite.io/docs/functions
oh, i just want to do a simple webhook to Slack
because i read the webhook documentation and it seems that it can easily interface to Slack Webhooks can be used to purge cache from CDN, calculate data or send a Slack notification
and Slack needs the payload to use "text"
in that case, i will try with function
thank you @Steven
[SOLVED] Webhook Payload
Recommended threads
- Adding Custom Domain to self-hosted Appw...
Hi, i deployed Appwrite with Coolify and reaching it with appw.appname.de. What is working so far. I wanted to add another custom Domain to activate email verif...
- I need help with web hook set up for doc...
I have been getting the error below in my web hook log. URL: https://webhooks-emmanuel-samuel-agbedejobis-projects.vercel.app/api/kyc-webhook Method: POST St...
- Cannot connect to Github after migration...
I have migrated from 1.6.1 to 1.7.4. First moving to 1.6.2, then to 1.7.0 and after that to 1.7.4. I tried to deploy a new site but the connection to github wa...