Skip to main content
Solved

Send Pipe Id as a number on a webhook


caio-leite
Forum|alt.badge.img

I have a list with all the pipe ids I have to process (as numbers, like the pipe url), but when I send the request via webhook, the pipe_id arrives as some kind of hash.
My webhook configuration:

mutation {
createWebhook(input:
{
clientMutationId: "1",
actions: ["card.create""card.move"],
name: "Integration Name",
email: "email@email.com",
pipe_id: 302682925
url: "https://...",
})
{
  clientMutationId
}}

And this is what I'm receiving in my API:

{
  "Data": {
    "Action": "card.move",
    "From": { "Id": 123123, "Name": "phase 1" },
    "To": { "Id": 321321, "Name": "phase 2" },
    "MovedBy": {
      "Id": 123,
      "Name": "Usar Name",
      "Username": "user-name",
      "Email": "email@email.com",
      "AvatarUrl": "https://..."
    },
    "Card": { "Id": 123123, "Title": "Test title", "PipeId": "2jz9X0eK" }
  }
}

This "PipeId": "2jz9X0eK" needs be the pipe number (302682925).

How can I retrieve this information in the correct format?

Best answer by antonio-nykael

Hello,I believe this “Pipeid” is “suid”.

 

 

you can get the “Pipeid” as follows:


query MyQuery {
  pipe(id: "suid") {
    id
  }
}

 

you can get the “suid” as follows:

query MyQuery {
  pipe(id: "PipeId") {
    suid
  }
}
 

 

 

 

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

2 replies

antonio-nykael
Forum|alt.badge.img+1
Hello,I believe this “Pipeid” is “suid”.

 

 

you can get the “Pipeid” as follows:


query MyQuery {
  pipe(id: "suid") {
    id
  }
}

 

you can get the “suid” as follows:

query MyQuery {
  pipe(id: "PipeId") {
    suid
  }
}
 

 

 

 


marcosmelo
Forum|alt.badge.img+18
  • Pipefy Legend
  • 1465 replies
  • December 4, 2023

I will test these tips


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