Hey Appwriters!
I'm trying to use Appwrite Function (Cloud) to automate a task on GitHub. I'm using the Github webhook and I don't know which URL I should input as the Payload URL
Did you read the docs?
But also this is not the right section...what are you doing?
Oh my bad... Apologies.... I will check the docs
I'm trying out some of the Function templates with webhooks
What do you mean function templates with webhooks? Are you trying to deploy functions using our GitHub integration on a self hosted instance of Appwrite?
Yea, But not just a normal function. I'm creating a function that uses one of the template provided ( this template uses Github webhook)
Its on Appwrite Cloud
Which function templates are you referring to?
I see...thanks for the context
Disregard this then
The payload URL will be your function domain
Neither. Go to your function and click on the domains tab
Oh thanks....
It works now
I'm not sure if I need to open an issue or something
The process is kinda backward. Let me explain
So when you're creating a function from template that uses webhook for example. You'll be required to provide a token and webhook secret
and for you to create webhook you need the function domain.... which will only be generated after you've deployed the function
although, we can always edit the webhook payload url later on though
I'm just thinking it will be nice to have it in a step that does not involve back and forth
Ya you can fill all that out and save the secret. Then, create the webhook in GitHub and add the secret and domain right?
Recommended threads
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...
- 401 - Project not accessible, Singapore ...
Hi, I'm getting a 401 error when I try to open my project from the Appwrite Cloud console dashboard. Project ID : sgp-6a04326f002bd04cc420 Region : Singap...