Skip to main content
Solved

How to activate a webhook on a pipe


iwan-pauwels
Forum|alt.badge.img

I see a lot of information about webhooks in faq and support but i don’t seem to understand one vital part…

I want to activate webhooks on my pipes, there is no place in my admin interface to do this correct? No place in the admin interface where i can just activate a webhook and put in a webhook url to send the info to? All this needs to somehow be created via the API and commands ?

Is this correct?

Thanks,

Iwan

Best answer by Lucas Democh

To create the webhook, just run the command below:

mutation {
  createWebhook(input: {
    actions: ["card.create"],
    name: "Record Creation Webhook",
    table_id: 123456,
    url: "https://your-endpoint.com/"
  }) {
    webhook {
      id
      actions
      url
    }
  }
}

One of the command parameters is the URL that will receive the payload (endpoint).

 

More information at: https://developers.pipefy.com/reference/pipe-table-webhooks#card-and-record-management-webhooks

View original
Did this topic help you find an answer to your question?

3 replies

Lucas Democh
Forum|alt.badge.img+15
  • Pipefy Legend
  • 396 replies
  • Answer
  • March 28, 2023

To create the webhook, just run the command below:

mutation {
  createWebhook(input: {
    actions: ["card.create"],
    name: "Record Creation Webhook",
    table_id: 123456,
    url: "https://your-endpoint.com/"
  }) {
    webhook {
      id
      actions
      url
    }
  }
}

One of the command parameters is the URL that will receive the payload (endpoint).

 

More information at: https://developers.pipefy.com/reference/pipe-table-webhooks#card-and-record-management-webhooks


iwan-pauwels
Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • March 29, 2023

Hi Lucas,

thank you for taking the time to help me out!

I have seen and read that page a number of times but what i missed was “where” do i run this command?
In the meantime i found out i should actually do that in this interface ? https://app.pipefy.com/graphiql
to me this looked like some kind of testing environment but it does seem to work.

In a few other tools we use in the company these things can be done as a functionality right in the admin interface. Activate the feed, paste your url, save … So i spent quite some time looking for that :-). Might be a good tip for the pipefy roadmap to point to that url from the admin, build this functionality, or provide some explanation or context
On the page https://app.pipefy.com/graphiql

Thanks again !

Iwan

 


Lucas Democh
Forum|alt.badge.img+15
  • Pipefy Legend
  • 396 replies
  • March 29, 2023

@iwan-pauwels 

You can use the GraphyQL interface to create the Webhooks, but you can also run this command in a local notebook or on a clound platform (GCP, AWS, Azure ETC).

I agree with you that a function to create webhooks within the platform itself would help a lot.

Another alternative to facilitate the creation of Webhooks is the use of integration platforms such as Zapier or Integromat/Make. In them, the Webhook is created automatically (according to Pipefy's public documentation).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings