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
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- 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...