Asana integration summary

Stitch’s Asana integration replicates data using the Asana API. Refer to the Schema section for a list of objects available for replication.

Asana feature snapshot

A high-level look at Stitch's Asana (v2) integration, including release status, useful links, and the features supported in Stitch.

STITCH
Release status

Released on March 5, 2020

Supported by

Singer Community

Stitch plan

Standard

API availability

Available

Singer GitHub repository

singer-io/tap-asana

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Supported

Table-level reset

Unsupported

Configurable Replication Methods

Unsupported

DATA SELECTION
Table selection

Supported

Column selection

Supported

Select all

Supported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting Asana

Asana setup requirements

To set up Asana in Stitch, you need:

  • Access to all the data you want to replicate in Asana. This includes projects, tasks, tags, users, and workspaces. If the user authorizing the integration in Stitch doesn’t have access to something in Asana, Stitch will be unable to replicate it.


Step 1: Add Asana as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the Asana icon.

  4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

    For example, the name “Stitch Asana” would create a schema called stitch_asana in the destination. Note: Schema names cannot be changed after you save the integration.

Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Asana integration. This means that:

  • For tables using Key-based Incremental Replication, data equal to or newer than this date will be replicated to your destination.
  • For tables using Full Table Replication, all data - including records that are older, equal to, or newer than this date - will be replicated to your destination.

Change this setting if you want to replicate data beyond Asana’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.

Step 3: Create a replication schedule

In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Asana integrations support the following replication scheduling methods:

To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.

Step 4: Authorize Stitch to access Asana

  1. Next, you’ll be prompted to sign into your Asana account.
  2. Enter your Asana credentials and sign into your account.
  3. After the authorization process is successfully completed, you’ll be directed back to Stitch.
  4. Click All Done.

Step 5: Set objects to replicate

The last step is to select the tables and columns you want to replicate. Learn about the available tables for this integration.

Note: If a replication job is currently in progress, new selections won’t be used until the next job starts.

For Asana integrations, you can select:

  1. Individual tables and columns

  2. All tables and columns

Click the tabs to view instructions for each selection method.

  1. In the integration’s Tables to Replicate tab, locate a table you want to replicate.
  2. To track a table, click the checkbox next to the table’s name. A blue checkmark means the table is set to replicate.

  3. To track a column, click the checkbox next to the column’s name. A blue checkmark means the column is set to replicate.

  4. Repeat this process for all the tables and columns you want to replicate.
  5. When finished, click the Finalize Your Selections button at the bottom of the screen to save your selections.
  1. Click into the integration from the Stitch Dashboard page.
  2. Click the Tables to Replicate tab.

  3. In the list of tables, click the box next to the Table Names column.
  4. In the menu that displays, click Track all Tables and Fields:

    The Track all Tables and Fields menu in the Tables to Replicate tab

  5. Click the Finalize Your Selections button at the bottom of the page to save your data selections.

Initial and historical replication jobs

After you finish setting up Asana, its Sync Status may show as Pending on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a Pending status indicates that Stitch is in the process of scheduling the initial replication job for the integration. This may take some time to complete.

Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.


Asana table reference

Replication Method :

Key-based Incremental

Replication Key :

modified_at

Primary Key :

gid

Official docs :

Official Docs

The projects table contains info about the projects the user who authorized the Asana integration in Stitch has access to.

gid
STRING

The project’s GID.

Reference:

modified_at
DATE-TIME

The time the project was last modified.

archived
BOOLEAN

Indicates if the project has been archived or not.

color
STRING

The color of the project. Possible values are:

  • dark-pink
  • dark-green
  • dark-blue
  • dark-red
  • dark-teal
  • dark-brown
  • dark-orange
  • dark-purple
  • dark-warm-gray
  • light-pink
  • light-green
  • light-blue
  • light-red
  • light-teal
  • light-yellow
  • light-orange
  • light-purple
  • light-warm-gray

created_at
DATE-TIME

The time the project was created.

current_status
STRING

The most recently created status update for the project.

custom_fields
ARRAY

Details about the custom fields for the project, and the values applied to them.

description
STRING

The description of the custom field.

enabled
BOOLEAN

Indicates if the custom field is enabled or not.

enum_options
ARRAY

Applicable only when resource_subtype: enum. The possible values that the enum field can adopt.

color
STRING

The color of the enum option. Defaults to none.

enabled
BOOLEAN

Indicates if the enum option is enabled.

gid
STRING

The globally unique identifier for the enum option.

name
STRING

The name of the enum option.

resource_type
STRING

The base type of the resource.

projects (table), enum_options (attribute)

enum_value
OBJECT

Applicable only when resource_subtype: enum. Details about the chosen value for the enum field.

color
STRING

The color of the enum value. Defaults to none.

enabled
BOOLEAN

Indicates if the enum value is enabled.

gid
STRING

The globally unique identifier for the enum value.

name
STRING

The name of the enum value.

resource_type
STRING

The base type of the resource.

projects (table), enum_value (attribute)

gid
STRING

The globally unique identifier for the resource.

has_notifications_enabled
BOOLEAN

Indicates whether a follower of a project with this custom field should receive inbox notifications when the field’s value changes.

is_global_to_workspace
BOOLEAN

Indicates whether the custom field is available to every container in the work space.

name
STRING

The name of the custom field.

number_value
NUMBER

Applicable only when resource_subtype: number. The value of a custom number field.

precision
INTEGER

Applicable only when resource_subtype: number. The number of places after the decimal to round to for custom number fields.

From Asana’s documentation:

0 is integer values, 1 rounds to the nearest tenth, and so on. Must be between 0 and 6, inclusive. For percentage format, this may be unintuitive, as a value of 0.25 has a precision of 0, while a value of 0.251 has a precision of 1. This is due to 0.25 being displayed as 25%. The identifier format will always have a precision of 0.

resource_subtype
STRING

The type of the custom field. Possible values are:

  • text
  • enum
  • number

resource_type
STRING

The base type of the resource.

text_value
STRING

Applicable only when resource_subtype: text. The value of a custom text field.

type
STRING

Deprecated by Asana. Use resource_subtype instead.

projects (table), custom_fields (attribute)

due_date
DATE-TIME

The day on which the project is due.

followers
ARRAY

A list of users following the project.

projects (table), followers (attribute)

members
ARRAY

A list of users who are members of the project.

projects (table), members (attribute)

name
STRING

The name of the project.

notes
STRING

Any notes associated with the project.

owner
OBJECT

Details about the current owner of the project.

projects (table), owner (attribute)

public
BOOLEAN

Indicates if the project is public to the organization.

team
OBJECT

Details about the team the project is associated with.

gid
STRING

The team’s GID.

id
INTEGER

The team’s ID.

resource_type
STRING

This will be team.

projects (table), team (attribute)

workspace
OBJECT

Details about the workspace or organization the project is associated with.

gid
STRING

The workspace’s GID.

Reference:

resource_type
STRING

This will be workspace.

projects (table), workspace (attribute)

Replication Method :

Key-based Incremental

Replication Key :

created_at

Primary Key :

gid

Official docs :

Official Docs

The tags table contains info about the tags in your Asana account. A tag is a label that can be attached to any task in Asana.

gid
STRING

The tag GID.

created_at
DATE-TIME

The time the tag was created.

color
STRING

The color of the tag. Possible values are:

  • dark-pink
  • dark-green
  • dark-blue
  • dark-red
  • dark-teal
  • dark-brown
  • dark-orange
  • dark-purple
  • dark-warm-gray
  • light-pink
  • light-green
  • light-blue
  • light-red
  • light-teal
  • light-yellow
  • light-orange
  • light-purple
  • light-warm-gray

followers
ARRAY

A list of users following the tag.

tags (table), followers (attribute)

name
STRING

The name of the tag.

notes
STRING

Any notes associated with the tag.

workspace
OBJECT

Details about the workspace or organization the tag is associated with.

gid
STRING

The workspace’s GID.

Reference:

resource_type
STRING

This will be workspace.

tags (table), workspace (attribute)

Replication Method :

Key-based Incremental

Replication Key :

modified_at

Primary Key :

gid

Official docs :

Official Docs

The tasks table contains info about the tasks in your Asana account.

Custom fields

To replicate task custom fields, select the custom_fields attribute in Stitch. If your destination doesn’t natively support nested data structures, two subtables (tasks__custom_fields, tasks__custom_fields__enum_options) will be created.

gid
STRING

The task’s GID.

modified_at
DATE-TIME

The time the task was last modified.

assignees
ARRAY

A list of users assigned to the task.

tasks (table), assignees (attribute)

assignee_status
STRING

The scheduling status of the task for the user it is assigned to.

completed
BOOLEAN

Indicates if the task has been completed or not.

completed_at
DATE-TIME

The time at which the task was completed. This will be null until completed: true.

created_at
DATE-TIME

The time the task was created.

custom_fields
ARRAY

Details about the custom fields for the task, and the values applied to them.

description
STRING

The description of the custom field.

enabled
BOOLEAN

Indicates if the custom field is enabled or not.

enum_options
ARRAY

Applicable only when resource_subtype: enum. The possible values that the enum field can adopt.

color
STRING

The color of the enum option. Defaults to none.

enabled
BOOLEAN

Indicates if the enum option is enabled.

gid
STRING

The globally unique identifier for the enum option.

id
INTEGER

The enum option ID.

name
STRING

The name of the enum option.

resource_type
STRING

The base type of the resource.

tasks (table), enum_options (attribute)

enum_value
OBJECT

Applicable only when resource_subtype: enum. Details about the chosen value for the enum field.

color
STRING

The color of the enum value. Defaults to none.

enabled
BOOLEAN

Indicates if the enum value is enabled.

gid
STRING

The globally unique identifier for the enum value.

id
INTEGER

The enum value ID.

name
STRING

The name of the enum value.

resource_type
STRING

The base type of the resource.

tasks (table), enum_value (attribute)

gid
STRING

The globally unique identifier for the resource.

has_notifications_enabled
BOOLEAN

Indicates whether a follower of a task with this custom field should receive inbox notifications when the field’s value changes.

id
INTEGER

The ID of the custom field.

is_global_to_workspace
BOOLEAN

Indicates whether the custom field is available to every container in the work space.

name
STRING

The name of the custom field.

number_value
NUMBER

Applicable only when resource_subtype: number. The value of a custom number field.

precision
INTEGER

Applicable only when resource_subtype: number. The number of places after the decimal to round to for custom number fields.

From Asana’s documentation:

0 is integer values, 1 rounds to the nearest tenth, and so on. Must be between 0 and 6, inclusive. For percentage format, this may be unintuitive, as a value of 0.25 has a precision of 0, while a value of 0.251 has a precision of 1. This is due to 0.25 being displayed as 25%. The identifier format will always have a precision of 0.

resource_subtype
STRING

The type of the custom field. Possible values are:

  • text
  • enum
  • number

resource_type
STRING

The base type of the resource.

text_value
STRING

Applicable only when resource_subtype: text. The value of a custom text field.

type
STRING

Deprecated by Asana. Use resource_subtype instead.

tasks (table), custom_fields (attribute)

due_at
DATE-TIME

The date and time on which the task is due. This will be null if the task has no due time.

due_on
DATE-TIME

The date on which the task is due. This will be null if the task has no due date.

external
STRING

followers
ARRAY

A list of users following the task.

tasks (table), followers (attribute)

hearted
BOOLEAN

hearts
STRING

memberships
STRING

name
STRING

The name of the task.

notes
STRING

Any notes associated with the task.

num_hearts
INTEGER

The number of users who have hearted this task.

parent
STRING

The parent of the task, or null if this is not a subtask.

Reference:

projects
ARRAY

A list of projects the task is associated with.

gid
STRING

The project’s GID.

Reference:

resource_type
STRING

This will be project.

tasks (table), projects (attribute)

start_on
STRING

The day that work begins for the task.

workspace
OBJECT

Details about the workspace or organization the task is associated with.

gid
STRING

The workspace’s GID.

Reference:

resource_type
STRING

This will be workspace.

tasks (table), workspace (attribute)

Replication Method :

Full Table

Primary Key :

gid

Official docs :

Official Docs

The users table contains info about the users in your Asana account.

gid
STRING

The user’s GID.

Reference:

email
STRING

The user’s email address.

name
STRING

The name of the user.

photo
OBJECT

A map of the user’s profile photo in various sizes.

image_1024x1024
STRING

The URL of the user’s profile photo at size 1024x1024.

image_128x128
STRING

The URL of the user’s profile photo at size 128x128.

image_21x21
STRING

The URL of the user’s profile photo at size 21x21.

image_27x27
STRING

The URL of the user’s profile photo at size 27x27.

image_36x36
STRING

The URL of the user’s profile photo at size 36x36.

image_60x60
STRING

The URL of the user’s profile photo at size 60x60.

users (table), photo (attribute)

workspace
OBJECT

Details about the workspace or organization the user is associated with.

Note: Only workspaces and organizations that contain the user that authorized the integration in Stitch will be returned by Asana’s API.

gid
STRING

The workspace’s GID.

Reference:

resource_type
STRING

This will be workspace.

users (table), workspace (attribute)

Replication Method :

Full Table

Primary Key :

gid

Official docs :

Official Docs

The workspaces table contains info about the workspaces associated with your Asana account.

gid
INTEGER

The workspace’s GID.

Reference:

is_organization
BOOLEAN

Indicates if the workspace is an organization or not.

name
STRING

The name of the workspace.

resource_type
STRING

This will be workspace.



Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.