Skip to main content
Is there any way to clone / duplicate a specific card via graphql?

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


 

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.


Hi @Lucas Democh , there is no way to do this directly through graphql.

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 @genietim said :wink:


Hello, I have some news.

I created a "power-ups" App to clone cards in Pipefy. If anyone is interested in implementing it, please contact me.


 


Reply