Create Asana Project from custom template

I see where you can create a project in Asana. I also see the is template option but that seems to be making something a template but I see no option for creating a new project from a template.

is this possible?

Welcome to the Make community!

Make doesn’t have an Asana module for this particular endpoint “Instantiate a project from a project template”.

You should be able to call this endpoint in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

2 Likes

thank you I worked though this and was able to get it to function but now I am having an issue with reading the output of the API call.

it returns a body
output of API.txt (2.3 KB)

I want to extract the value under body - data - new_project - gid. When I look at pulling that information in my next module, it only shows body. So I attempted to use a Json module to extract the body into values. IT seems to work in the interface but when i run it I get and error

BundleValidationError

Validation failed for 1 parameter(s).

  • Collection can’t be converted to text for parameter ‘json’.

Everything seems to be configured correctly.

Any help would be greatly accepted.

Try using a Set Variable module instead of Parse JSON.

the set variable does not work as I can only see body not anything inside

For some reason, it is not breaking up the output collection into usable variables.

Now try running the scenario and see what comes out of this module.

ok it looks like the variable is being created with the full body output

[
{
“newProjectID”: {
“data”: {
“gid”: “1209477914325032”,
“resource_type”: “job”,
“resource_subtype”: “instantiate_project_template”,
“status”: “in_progress”,
“new_project”: {
“gid”: “1209477913895938”,
“resource_type”: “project”,
“name”: “CS - Quality Spray Foam Insulation”
}
}
}
}
]

How do I extract the single value of gid under new_project?

No problem, glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.