Connect Asana
What is this connection for?
Section titled “What is this connection for?”Asana allows ELChat to find tasks, create, update, complete and add comments.
What you need
Section titled “What you need”| Identifier | Role | Mandatory |
|---|---|---|
| Personal access token | ELChat authorization with the rights of your Asana user | Yes |
Workspace ID (workspace_gid) |
Define the space to search for | Yes |
Project ID (project_gid) |
Set the default project to list and create tasks | Mandatory in current form |
A personal token acts with the same rights as its owner and remains valid until its revocation. Asana recommends it for personal or internal use; a multi-user application should normally use OAuth. See the Official Documentation of Personal Tokens Asana.
Step 1 — Create the token
Section titled “Step 1 — Create the token”- Connect to Asana with the user who can access the project.
- Open Asana Developer Console.
- Select Personal access tokens.
- Create a new token named
ELChat. - Copy the token immediately and keep it in a safe place.
Step 2 — Find IDs
Section titled “Step 2 — Find IDs”- A project is the number in the URL when you open this project:
https://app.asana.com/0/PROJECT_GID/.... - The GID workspace is the digital identifier of the space to which the project belongs.
Information to be completed: Asana does not always display the GID workspace directly in the standard interface. If you don’t know him, ask the Asana administrator or retrieve him via the official API explorer with the token. Do not copy the ID of a task instead.
Step 3 — Connect Asana to ELChat
Section titled “Step 3 — Connect Asana to ELChat”- Open Dashboard > your site > IA Actions > Connectors.
- Click Connect on the Asana map.
- Paste the personal token.
- Inform the ID of workspace.
- Inform the default project ID if you want to list and create tasks in this project.
- Validate.
Check connection
Section titled “Check connection”Ask ELChat to list the configured project tasks or search for a known test task. Compare the name, expiry and status in Asana.
Capacity available
Section titled “Capacity available”| Actual capacity | Type |
|---|---|
| List default project tasks | Reading |
| Find a task in the workspace | Reading |
| Create Task | Writing |
| Edit Task | Writing |
| Mark a task as completed | Writing |
| Leave a comment | Writing |
The engine can technically operate without a project for some searches, but the current form requires this ID. Without a default project, the list and creation in this project fail. Without workspace, global search fails.
Reconnect, Disconnect and Troubleshoot
Section titled “Reconnect, Disconnect and Troubleshoot”To replace the token, create a new one, reconnect and test before revoking the old one in the developer Console. Disable stops ELChat, but only Asana revocation actually invalidates the token.
- **Project not configured:**inform the
project_gidcorrect. - **Workspace not configured:**inform the
workspace_gidspace containing the project. - Unobtainable task: verify that the token user has access to the project and that the task is not in another workspace.
- Access denied: correct the rights of Asana member; the token does not bypass user permissions.
Security and limitations
Section titled “Security and limitations”Use a dedicated account if possible. The connector does not handle portfolios, objectives, forms, rules or attachments. The Asana API limits apply.
Example: Configuring a Support Project
For a projectSupport clients — France, provide:
- ** personal token:** the secret value created for the support user;
- workspace GID:
120000000000001; - GID project:
120000000000101.
The workspace defines the searchspace and the project is the default destination for lists and creations. First ask for the project tasks and compare a test task; only create a task after confirming that these two IDs belong to the same perimeter.