Documentation Index
Fetch the complete documentation index at: https://help.nextmatter.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin
To start integrating, you need the following data from Asana:- your Personal Access Token (see Asana documentation)
-
your workspace, project, and task IDs. These can be extracted from URLs. For example, a task URL is constructed in the following way:
https://app.asana.com/0/PROJECT_ID/TASK_ID - your Asana section ID. You can query for it with this call.
- your task name. You can use Asana search to get it.
Dynamically assign tasks in Asana
1. Get assignee_ID
-
Create a step in Integration > Custom integration with the following settings:
- Method: GET
-
URL:
https://app.asana.com/api/1.0/users/USER_EMAIL -
Headers: Content-type:
application/json -
Headers: Authorization:
ASANA_PERSONAL_ACCESS_TOKEN -
Headers: Accept:
application/json
- In the Settings, click + Add a variable.
-
Enter the following variable values:Name:
assignee_idValue:$.data.gid - Save your changes.
2. Create a task in Asana from Next Matter
-
Create a step in Integration > Custom integration with the following settings:
- Method: POST
-
URL:
https://app.asana.com/api/1.0/tasks -
Headers: Content-type:
application/json -
Headers: Authorization:
ASANA_PERSONAL_ACCESS_TOKEN -
Headers: Accept:
application/json - Body (an example)
- In the Settings, click + Add a variable.
-
Enter the following variable values:Name:
task_idValue:$.data.gid - Save your changes.
3. Update the task section
This is an optional step. In case your Asana project is organized in sections, you can add a step to move the just-created task to the correct section.-
Create a step in Integration > Custom integration with the following settings:
- Method: GET
-
URL:
https://app.asana.com/api/1.0/users/USER_EMAIL -
Headers: Content-type:
application/json -
Headers: Authorization:
ASANA_PERSONAL_ACCESS_TOKEN -
Headers: Accept:
application/json
- In the Settings, click + Add a variable.
-
Enter the following variable values:Name:
assignee_idValue:$.data.gid - Save your changes.
4. Move a task to a specific Asana section
-
Create a step in Integration > Custom integration with the following settings:
- Method: POST
-
URL:
https://app.asana.com/api/1.0/sections/SECTION_ID/addTask -
Headers: Content-type:
application/json -
Headers: Authorization:
ASANA_PERSONAL_ACCESS_TOKEN -
Headers: Accept:
application/json - Body (an example)
- Save your changes.

