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
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Can Sites deployments be limited to the ...
Hey all! I’m using Appwrite Cloud Sites with GitHub connected. Right now, Appwrite seems to build for every push and PR, not just for my production branch (main...
- 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...