You can find your Asana app credentials by visiting your Asana Developer App Console.You’ll need the following information to set up your Asana app with Paragon:
Under Integrations > Connected Integrations > Asana > App Configuration > Configure, fill out your credentials from the end of Step 1 in their respective sections:
Client ID: Found at the end of Step 1.
Client Secret: Found at the end of Step 1.
Press the purple “Save Changes” button to save your credentials.
Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.
Once your users have connected their Asana account, you can use the Paragon SDK to access the Asana API on behalf of connected users.See the Asana REST API documentation for their full API reference.Any Asana API endpoints can be accessed with the Paragon SDK as shown in this example.
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// List filesawait paragon.request("asana", "tasks", { method: "POST", body: { "name": "Water the plants", "due_on": "2019-09-15" }});
Once your Asana account is connected, you can add steps to perform the following actions:
Create Comment
Create Project
Get Projects
Get Project by ID
Create Task
Update Task
Get Tasks
Get Task by ID
Get Task by External ID
Add Task to Selection
Get Teams
Get Workspaces
You can also use the Asana Request step to access any of Asana’s API endpoints without the authentication piece.When creating or updating tasks in Asana, you can reference data from previous steps by typing {{ to invoke the variable menu.
Webhook triggers can be used to run workflows based on events in your users’ Asana account. For example, you might want to trigger a workflow whenever tasks are updated to sync your users’ Asana Tasks to your application in real-time.
You can find the full list of Webhook Triggers for Asana below:
Once you have deployed your workflows and are ready to connect users from other Asana Workspaces to your Asana Application, ensure that you have selected the proper Distribution method for the application.
Seeing an invalid_request: The required parameter 'client_id' is missingerror?Ensure your Asana application is correctly distributed following these instructions.
In the Manage distribution settings of your Asana Application details found in the Asana Developer App Console, select the Any Workspace distribution method. This will allow Asana users from other Workspaces to connect to your Asana application.