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 originalHey 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
Hi,
As I understand it, this function duplicates a Pipe.
I need to clone only one card inside the same Pipe.
There 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.
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.