I have a REST service that sends a customized email notification to all employees. [ With JSON
as input ]
I want to integrate this REST API with Pipefy, so when a card is created in pipefy, I want to
format card info (Data from Pipefy webhook) and do the job.
Information:
Created a webhook in pipefy using "https://app.pipefy.com/graphiql" using mutation
"createwebhook" and, webhook is created with an id
Question:
How can I use this webhook and how can I call my own REST API (or how this webhook
interacts with my REST API ?)
Please suggest
Page 1 / 1
Hello Amanda! Firstly, I would suggest you to take a look at our built-in feature called Email Template.(https://help.pipefy.com/en/articles/614616-email-templates) That might solve your problem straight up!
If you’d like to know how to create a webhook, you can log onto Pipefy and access our GraphiQL IDE (https://app.pipefy.com/graphiql), and create it through there. Here’s an example of the code:
You can use sites like requestcatcher.com to test your webhook events.
After the webhook is configured, Pipefy will listen to events in the configured pipe, such as "card.created". From that, it will send a POST request to your specified URL containing some basic card data in JSON. After that, how to proceed is determined by your business logic.