Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.55k stars 1.55k forks source link

Set up webhook inside Budibase #7540

Open melohagan opened 2 years ago

melohagan commented 2 years ago

Describe the feature request At the moment you have to send the setup request in Postman or some other external tool. We already have a REST query tool built into Budibase, so could we not add that to the webhook setup modal?

Screenshots Stick a json query body box with a send button here Screenshot 2022-08-31 at 14 02 19

poirazis commented 2 years ago

Hey @melohagan another way i thought would be to allow the user to design the schema. The current architecture expects a call to parse the parameters, and create the schema which makes it hard for cases where we want to define the schema ourselves. Apart from the "auto definition" mechanism, which is very useful, maybe it would be nice also be able to set up the webhook yourself, in which case you wouldn't need to fire a call.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

melohagan commented 1 year ago

To add to this one, the REST query should automatically set the headers:

In the interim, it would be nice to access the API key from the Webhook setup page. At the moment you have to go back to the portal, click the doprdown menu, click View API key, click the copy icon, click back into your app, click the Automate tab, then setup your Webhook!