# Adding webhooks to a form

**URL:** <https://forum.getodk.org/t/adding-webhooks-to-a-form/41082>\
**Category:** Support\
**Tags:** odk-central\
**Created:** [April 9, 2023, 7:51am UTC](https://forum.getodk.org/t/adding-webhooks-to-a-form/41082 "2023-04-09T07:51:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![danbjoseph](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/danbjoseph/32/21901_2.png) [@danbjoseph](https://forum.getodk.org/u/danbjoseph)\
**Post date:** [April 19, 2023, 2:49am UTC](https://forum.getodk.org/t/adding-webhooks-to-a-form/41082/4 "2023-04-19T02:49:55Z")

</div>

Have you looked at the OData feed? You can [download submissions with Python, R, and more](https://docs.getodk.org/central-submissions/#downloading-submissions-with-python-r-and-more). Using Python, you should be able to download using [pyODK](https://github.com/getodk/pyodk) and then push to your other database. You could set a script to run regularly using some sort of automation such as a cron job.

For an example, you can check out the code @mathieubossaert released to move data from Central to PostgreSQL. And he notes that "pyODK offers now the possibility to create pl/python function within your own PostgreSQL database or python autonomous routines":

> [@Central2pg : PostgreSQL set of functions to get data from Central](https://forum.getodk.org/t/central2pg-postgresql-set-of-functions-to-get-data-from-central/33350/2):
>
> Some news from this work wink I moved the functions set to github : Feel free to improve it ! I am not a pl-pgsql guru and I am sure it could be cleaner / safer... I would be glad to discuss about that work and on how to improve it with anybody else. The filtering capability on submission\_date has been removed as it only applies to Submissions table, not to its "daughters". So we are in a "all data download" scenario and I hope we will be able to [improve it later](https://forum.getodk.org/t/propagate-submission-date-to-child-tables/34349) to improve bandwidth and …

---

_[View the full topic](https://forum.getodk.org/t/adding-webhooks-to-a-form/41082)._
