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
- Webhook cannot be deleted
After the webhook has been deleted, it can no longer be seen on the page. However, it has been observed that the appwrite-worker-webhook container is still gen...
- Webhook signatures
Hi, can someone help me with webhook signature validation in node js?
- Mistakenly rejected and Closed PR of hac...
Hello i have submitted a project called as Virtual -Labs for hackathon but the PR has been rejected and closed stating i have not used any of the appwrite servi...