Hi Make community,
I’m currently building a scenario that integrates HubSpot and Asana. The idea is to create a new project in Asana using a project template when a Deal in HubSpot is marked as approved (custom properties). I’m doing this using the HTTP module and the following Asana endpoint:
POST https://app.asana.com/api/1.0/project_templates/{template_gid}/instantiateProject
The template in Asana uses relative due dates (e.g., “3 days after project start”), so I understand that the API requires the requested_dates
object with a project_start_date
.
Here’s the raw JSON I’m sending in the Request Content field of the HTTP module:
{
"data": {
"name": "Project from HubSpot",
"team": "1204050191559311",
"requested_dates": {
"project_start_date": "2025-06-15"
}
}
}
I’ve set the headers to include:
Authorization: Bearer my_token
Content-Type: application/json
But Asana returns this error:
{
"errors": [
{
"error": "missing_project_template_date_variable",
"message": "One or more date variables are missing in `requested_dates` field."
}
]
}
What I’ve already tried:
- Validated that
project_start_date
is required by the template - Used
formatDate(closedate; "YYYY-MM-DD")
inside Make to ensure the date is clean - Ensured no variables are wrapped inside quotes manually
- Tried escaping the entire JSON using
replace
functions - Confirmed that the team and template GIDs are correct
My questions:
- Is there any known issue when sending
requested_dates
via the HTTP module in Make? - Could this be due to how Make serializes the payload?
- Should I use
Make an API call
instead of the rawHTTP
module? - Has anyone successfully created an Asana project from a template that required
project_start_date
using Make? - Any working example or workaround using an aggregator / JSON builder module?
Any help or ideas would be greatly appreciated. Thank you so much!