Admin

Asana

Connect Asana to TaskForce with a personal access token, link a project and let tasks and comments flow in through webhooks. Learn what is imported and what is not.

The Asana integration links Asana projects to TaskForce projects. Once a project is linked and its webhook is in place, tasks created or changed in Asana appear as tasks in TaskForce, and comments on them are copied across.

Who can use it

  • Connecting, syncing and changing settings needs the Manage integrations permission. Viewing the connection needs View integrations.
  • The Project Manager role template has both. Account Owner and Administrator have every permission.
  • Asana must be able to reach your TaskForce address over the internet. A workspace that runs on a local address cannot receive webhooks, and the page tells you to contact your workspace administrator.
  • No server setup is needed: a personal access token is enough. One-click sign-in is optional (see One-click sign-in).

Connect with a personal token

  1. In Asana click your profile photo, then My Settings > Apps > Manage Developer Apps.
  2. Click + Create new token, enter a Token name such as TaskForce and click Create token.
  3. Copy the token now. Asana shows it only once.
  4. In TaskForce open Settings > Integrations > Asana, paste it into Personal access token and click Save Connection. The page shows Connected with a token.

An Asana personal access token has no scopes: it acts as you, so TaskForce sees exactly the projects you can see, and tasks TaskForce creates are created as you. Use an account with access to the projects you want to link.

The token is encrypted and never shown again. To replace it later, open the integration page, paste the new value and click Update Connection. Remove Connection unlinks all synchronized projects after you confirm. It does not revoke the credential at Asana: delete it there if you want to cut access completely.

One-click sign-in (if available)

If your TaskForce operator has registered an Asana app, the page also shows Connect with Asana. Approve TaskForce in Asana. The access token lasts one hour and TaskForce renews it automatically. When no app is registered the button is not shown and the token form is all you need.

Sync and select projects

  1. Click Sync Projects to load the projects of every Asana workspace you belong to. Archived projects are left out. Use Search projects… to filter the list.
  2. Click Sync next to a project to make it available to TaskForce. The button changes to Synced. Click it again to stop syncing that project.
  3. Click Configure Sync to open the settings of a synced project.

Synced Asana projects can be linked to a TaskForce project in two ways:

  • Existing project: open the project settings, go to Integrations and pick the project in Linked project. You can link one external project per integration.
  • New project: click to create a project, choose the Import tab, pick the Source, select the Source project, give the project a name and click Import & create.

Webhooks

Tasks reach TaskForce through one Asana webhook per project. In Configure Sync the Webhook Management block shows its status (Configured, Drifted, Error or Not configured), the Callback URL, the time of the Last checked and any Missing Events.

Click Reconcile Webhooks to create the webhook (or to replace one that Asana deactivated). TaskForce subscribes to: task added, changed, deleted, removed from the project and undeleted, and comment added.

How the webhook is secured

You do not generate a secret for Asana. When TaskForce creates the webhook, Asana sends a one-time secret to TaskForce, which stores it encrypted and uses it to check the signature of every later delivery. Deliveries with a missing or wrong signature are rejected.

A new secret is accepted only while no secret is stored or within 10 minutes after Reconcile Webhooks, so a stranger cannot replace it. If Asana deleted the webhook (for example after 24 hours of failed deliveries), click Reconcile Webhooks again.

With a personal token

Asana ties each webhook to the token that created it and deletes the webhooks together with the token. After you replace or reset the token, click Reconcile Webhooks again on each linked project. The webhook also needs access to the project, which your token has when you can see it.

What flows from Asana to TaskForce

Asana sends only short notifications, so TaskForce reads the current task or comment from Asana each time.

Asana event Result in TaskForce
Task added to the project (or a subtask added) A task is created.
Task changed, or moved to another section The task is updated.
Comment added The comment is added to the matching task. When TaskForce cannot see the author’s email address, the TaskForce bot posts the comment and puts the author’s name in front, for example Ana Silva (via Asana): …
Task deleted, or removed from the project The matching task is deleted.
Task undeleted The task is created again from its current state in Asana.

Fields that are copied on create and update:

Asana TaskForce
Task name Task title
Notes Description (plain text)
Completed Status Closed
Section of the linked project (when not completed) Status by name: “To do” / “Backlog” New, “In progress” / “Review” Active, “Done” Closed, “Cancelled” Abandoned. Other names become Active.
Tags, or a custom field named Type Type: Bug, User Story, Feature or Epic when the name starts with one of those words, else Task.
Custom field named Priority Priority: Urgent/Critical 1, High 2, Medium 3, Low 4.
Assignee Assignee, matched by email address
Parent task Parent task, when the parent was already imported
Start date, due date (or completion date) Start and end dates
If the assignee has no TaskForce account, TaskForce creates one for that email address and adds it to the workspace and to the project as a pending member. A comment author without an account gets an account too, but is not added to the workspace. Review pending members after the first events arrive.

What flows from TaskForce to Asana

  • Tasks created through the AI task creation flow in a project that is linked to Asana also create an Asana task in that project, with the task title and description. Asana has no built-in priority or type, so those are not sent.
  • The Outbound Sync and Inbound Sync checkboxes are saved with the project settings, but in the current release the webhook handling does not consult them, and edits, comments and time logged in TaskForce are not sent to Asana.

Import existing work

To bring all existing tasks into TaskForce in one pass, use the Import tab when creating a new project or the Import from an external project option in an existing project’s settings. See Import projects and tasks for details.

Limitations

  • There is no initial import of existing tasks. Tasks appear when Asana sends an event for them.
  • Time tracking, attachments and custom fields other than Type and Priority are not imported.
  • A comment on a task that was never imported is refused until the task itself has been imported.
  • Asana delivers events within about a minute, sometimes up to 10 minutes later.
  • Personal access tokens do not refresh. If you delete or reset the token, Asana removes its webhooks: paste a new token and run Reconcile Webhooks on every linked project.
  • Everything TaskForce does in Asana is done as the person who owns the token.

Optional: enable one-click sign-in (operators)

This part is for whoever runs the TaskForce installation.

  1. Sign in to Asana and open the developer console: app.asana.com/0/my-apps. Click Create new app.

  2. Under OAuth, add the redirect URL <WEBHOOK_PUBLIC_URL or APP_URL>/api/integrations/asana/oauth/callback, for example https://taskforce.example.com/api/integrations/asana/oauth/callback.

  3. Under OAuth > Permission scopes, enable: projects:read, tasks:read, tasks:write, stories:read, users:read, workspaces:read, webhooks:read, webhooks:write, webhooks:delete.

  4. Under Manage distribution, choose which workspaces may install the app (or any workspace).

  5. Copy the Client ID and Client secret into the server environment and reload the configuration:

    ASANA_CLIENT_ID=...
    ASANA_CLIENT_SECRET=...
  6. Make sure WEBHOOK_PUBLIC_URL (or APP_URL) is the public HTTPS address of TaskForce. Asana calls <that address>/api/webhooks/asana?projectRef=... and refuses local addresses.

  7. The web server must handle at least two requests at once: Asana calls the webhook URL while TaskForce is still waiting for Asana to confirm the webhook. A single-worker development server (php artisan serve) cannot complete Reconcile Webhooks.

A brighter way to work

Bring your team and AI agents together, starting today.