Is there any way to clone / duplicate a specific card via graphql?
Best answer by lais_lot
View originalIs there any way to clone / duplicate a specific card via graphql?
Best answer by lais_lot
View originalThere is a way, sure:
Use the createCard mutation after using the card query and just fill all the fields with the same values you got. You may have to also use the moveCardToPhase mutation if your clone should also be in the correct phase.
Btw., the way to do it with Pipefy’s automations: have a connected card field (“parent card” or something). Then, use automations upon creation of the card, (a) to fill all the values based on the values found in the parent card, and (b) move the card e.g. upon change of field as soon as all are filled & parent card filled too.
Hi
What is possible is to take the card in question, save the values and create a card with them, or make a pipe connection, it with itself, by autofill and create manually or via automation. Like
Hey Lucas :)
You can do this action with this query
mutation{
clonePipes(input:{
pipe_template_ids: 123465 organization_id: 123456
}){
pipes{
id
name
}
}
}
You need to put the organization that will be the destination of this clone and the id of the pipe you want to clone
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.