Hi All. I really could use some advice. I’m a volunteer for a non-profit animal rescue. I know a little about a lot, enough to be dangerous, but I’m very new to APIs. I understand how they work and I can query via PostMan, but I don’t know how to implement the automation.
What I need to achieve:
- Webhook to populate a drop-down in our gravity form (current available animals) with status = available
- Create an item in Monday when the form is submitted, linked to the selected value from the selected item(s) from the drop-down.
I know general asks like this are frowned upon, but I’m just asking for a pointer to information. I’ll do the leg work to figure it out, I’m just hoping there is a kind developer out here that can point me in the right direction. I am SQL db developer in my day job, and I am limited to my free time to support our rescue. I receive no compensation for my time or effort and we are 100% volunteer run. If someone could throw me a bone, I’d be very grateful. Many thanks in advance!
Hello @PAC_Mama and welcome to the community!
I hope you like it here
I am not sure I get what you are trying to do.
A webhook is kind of a notification sent to an endpoint of your choice when an event occurs. What do you mean when you say you need a webhook to populate a dropdown? What is a “gravity” form?
When a monday workform is submitted, an item is created automatically. You want to link that item to a value? Where is that value? In which way do you want to “connect” the item to that value?
Looking forward to hearing from you
@Matias.Monday Thank you for replying.
The Monday default form doesn’t work well. We get so many complaints that people are unable to complete the applications. For that reason, we are switching back to Gravity Forms. Its just an html web form.
Each time a form is opened, we want to populate a real-time list of available animals for applicants to choose from. This is because we get so many apps for “the black and white dog,” etc. (We have a lot of black and white dogs. lol) This is I think where we’d need to use the webhook to query the monday board to populate the dropdown for “Which animal are you applying to adopt?”
Then I just need to pass the whole application to Monday as an item to the ‘Adoption Application’ Board and link the application to the animal applied for on the ‘Furbaby’ board. By automating the linkage, we will be able to auto-decline apps that are not suitable homes for the animals applied for. For example, an application from a family with young children who apply for an animal that does not do well with young children would be auto-declined, freeing up our few volunteers to focus on applications that fit the animals’ individual needs.
This may be too much info now, but I just wanted to paint the picture a little better.
Thank you again for taking the time to respond.
In this case, what you need is to make your form let you know when to query for the list of animals from your monday board. Then you have you use our API (documentation here) to query for the column values inside the column that contains the different animals.
After the form is submitted, you can send a create_item mutation to our server to create that item in your board.
Is this the information you needed?
Yes, I believe it is! I thought I needed a web hook for that. I think I know what I need to do now. Thank you so much for taking the time to help me out! I have a full day to donate tomorrow courtesy of my employer, so fingers are crossed that I can get this one off my to do list.
Hello again @PAC_Mama!
I am glad to help!
Let us know if you have any other questions or issues