"Create from Blueprint" option through API

Hello,

We have a use case where we need to create a set of projects from Blueprints.  For our use case we have 1 blueprint per region and each region has multiple entities that will need to work on a copy of the blueprint for their region.  Example:

Suppose we have Blueprint X, Blueprint Y, Blueprint Z and there's 20 entities per region, this means that we will need 20 Blueprint X's converted into projects, 20 Blueprint Y's converted into projects and 20 Blueprint Z's converted into projects.  If done manually we would just use the "Create Project from Blueprint" option 20 times for each of the Blueprints but this seems like an inefficient use of time and we have more than 20 entities per region.

 

Is there any way of doing this through the API where I can "copy" or instantiate a Blueprint as many times as I need?

Would the COPY_FOLDER method work with Blueprints?

0
7 comments
Spot On Innovative Approach Stellar Advice

Andres Gallegos, welcome to the Community! To create a project from a blueprint, please try POST /folder_blueprints/{folder_blueprintId}/launch_async method. The location of a newly-created project can be specified in the parent​ parameter value. For more details, you can refer to these instructions.

Each project should be launched with a separate query. Another important note: the blueprint needs to fit into 250 items in order for it to be duplicated through API; subfolders, subprojects, and subtasks count towards this limit as well. Let me know if you have any questions😊

Lisa K. Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa K. Wrike Team member Become a Wrike expert with Wrike Discover

0
Spot On Innovative Approach Stellar Advice

Hi Lisa, I'd like to please know if this API could be utilised for my use case please.

I want to utilise a Blueprint for employee onboarding as follows:

  1. Send potential employee Typeform link
  2. User completes this form and in this example, user is 'John Smith'
  3. Copy employee onboarding blueprint and create a new live project called 'John Smith onboarding'
  4. From there I can continue to automate what I need via Zapier but could not see an option in Zapier to create a project from Blueprint

Keen to hear how I can achieve this as I'm on Wrike trial and Blueprint is something that will be the difference between me choosing between Wrike and Asana.  

Thanks, Brendan

0
Spot On Innovative Approach Stellar Advice

Hi Brendan Sheppard, thank you for reaching out!

I've asked my colleague from the Support team to contact you in relation to your questions, and I can see they have 👍

Please let me know if I can help you with anything else 🙌

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Spot On Innovative Approach Stellar Advice

Lisa Lisa K. Whats the folder_blueprintid in url path ? How do i get this ?

0
Spot On Innovative Approach Stellar Advice

Hello R3 Digital, hope you don't mind me stepping in.
At the moment, the only way to receive {folder_blueprintID}, which you need for copying the blueprint, is this query:
GET https://www.wrike.com/api/v4/folder_blueprints
This query returns the blueprint tree, which means all blueprints you currently have in the account will be listed. You can then find the specific blueprint you're looking for by its title. 
Let us know if there's anything else we could assist you with.

Darina Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Darina Wrike Team member Become a Wrike expert with Wrike Discover

0
Spot On Innovative Approach Stellar Advice

I'm trying to add a blueprint to a folder/project and having a hard time. Even better could I add a project with a blueprint in the same call?

"https://app-us2.wrike.com/api/v4/folders/IEAFJUL6I43JDHYN/folders?project=&title=Test2/folder_blueprints/IEAFJUL6OE3KNVRE/launch_async"

 

0
Spot On Innovative Approach Stellar Advice

Hi Alex Olinger, looks like you are trying to send requests to several endpoints within the same call. Please note that each call should be executed separately. To create a project from the blueprint and place it in a specific folder, please follow the steps below.

  1. Get the API ID of the parent folder to which a new project should be added. For this, perform the GET/folders call as shown below and search the results for the title of the folder in question. Copy the ID parameter.
  2. Send a GET/folder_blueprints call to retrieve the API ID of your blueprint. Copy the ID of the item in question.
  3. Send the POST/folder_blueprints/{folder_blueprintId}/launch_async call specifying the name of the new project in the title parameter and the parent folder's ID from Step 1 in the parent parameter. Please replace {folder_blueprintId} with the blueprint ID from Step 2. This way the new project will be placed into the correct folder of your choice. 

Please also make sure you use the correct base URL for your account. You can determine your base URL by looking at the URL in the address bar when you access your Wrike instance in a browser. Let me know if you have any additional questions 🙌

Lisa K. Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa K. Wrike Team member Become a Wrike expert with Wrike Discover

0

Folllowing List for Post: "Create from Blueprint" option through API
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post