Asana Tables

The Asana integration uses the following tables and scopes

Tables

AsanaAttachments

Scoped Token Permissions: attachments:read;tasks:read

This table stores file attachments that have been uploaded to Asana tasks. Each record represents a single attachment, including metadata such as its name, size, the date it was uploaded, and the permanent URL used to access the file. Attachments are joined to their parent tasks through the AsanaTasks_AsanaAttachments bridge table because a single attachment may be linked to multiple tasks.

NameTypeDescription
AttachmentGIDstringThe unique global identifier (GID) for the attachment in Asana.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedAtdatetimeThe date and time when the attachment was uploaded to Asana.
NamestringThe display name of the attachment as shown in Asana.
PermanentUrlstringA long-lived URL that can be used to access the attachment without re-authenticating.
ResourceTypestringThe Asana resource type for this record (e.g., attachment).
SizeintergerThe size of the attachment in bytes.

AsanaProjects

Scoped Token Permissions: projects:read;users:read;teams:read;workspaces:read

The AsanaProjects table stores information about projects in an Asana workspace. A project is a container for tasks and is the primary unit of work organization in Asana. This table captures project metadata (name, owner, status, dates, privacy settings, custom fields, etc.) and is the parent of tasks, project memberships, and project team memberships.

NameTypeDescription
ArchivedbooleanIndicates whether the project has been archived in Asana.
BatchDatedatetimeThe date and time data was synced to our database.
ColorstringThe color of the project as displayed in the Asana UI.
CompletedbooleanIndicates whether the project is currently marked as completed.
CompletedAtdatetimeThe date and time when the project was marked as completed.
CompletedByGIDstringThe Asana GID of the user who marked the project as completed.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedAtdatetimeThe date and time when the project was created in Asana.
CreatedFromTemplateGIDstringThe Asana GID of the template the project was instantiated from, if any.
CurrentStatusJsonstringSerialized JSON payload describing the project's current status object as returned by Asana.
CurrentStatusUpdateJsonstringSerialized JSON payload describing the project's most recent status update object as returned by Asana.
CustomFieldSettingsJsonstringSerialized JSON payload describing the custom field settings configured on the project.

AsanaProjectTeamMemberships

Scoped Token Permissions: projects:read;teams:read

This table stores the membership rows that link an Asana team to an Asana project. Each row represents one team that has access to a particular project, along with the level of access that team has.

NameTypeDescription
AccessLevelstringThe access level granted to the team on the project (e.g., admin, editor, commenter, viewer`).
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
ProjectGIDstringThe Asana GID of the project the team has access to.
ProjectTeamMembershipGIDstringThe unique global identifier (GID) for the project membership record in Asana.
ResourceSubtypestringThe Asana resource subtype for this membership (e.g., project_membership).
ResourceTypestringThe Asana resource type for this record (e.g., project_membership).
TeamGIDstringThe Asana GID of the team granted access to the project.

AsanaProjectUserMemberships

Scoped Token Permissions: projects:read;users:read

This table stores the membership rows that link an Asana user directly to an Asana project. Each row represents a single user that has been added to a particular project, along with the access level that user has on that project.

NameTypeDescription
AccessLevelstringThe access level granted to the user on the project (e.g., admin, editor, commenter, viewer`).
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
ProjectGIDstringThe Asana GID of the project the user has access to.
ProjectUserMembershipGIDstringThe unique global identifier (GID) for the project membership record in Asana.
ResourceSubtypestringThe Asana resource subtype for this membership (e.g., project_membership).
ResourceTypestringThe Asana resource type for this record (e.g., project_membership).
UserGIDstringThe Asana GID of the user that has access to the project.

AsanaStories

Scoped Token Permissions: stories:read;tasks:read;users:read

The AsanaStories table stores the activity feed (stories) recorded against Asana tasks. A story represents a single event on a task — a comment, a state change, an assignment, an attachment, a custom field change, etc. Each row captures the change including the old and new values, who performed the change, and when it occurred. Used for activity / audit reporting on Asana tasks.

NameTypeDescription
Assigneen/aNavigation property only. Not persisted as an explicit column on this table; an EF Core shadow foreign key is generated for the related AsanaUsers row.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedAtdatetimeThe date and time when the story was created in Asana.
CreatedByn/aNavigation property only. Not persisted as an explicit column on this table; an EF Core shadow foreign key is generated for the related AsanaUsers row.
DependencyCreatedByn/aNavigation property only. Not persisted as an explicit column on this table; an EF Core shadow foreign key is generated for the related AsanaUsers row.
DependencyGidstringThe Asana GID of the dependency-related task referenced by the story, when applicable.
DependencyNamestringThe name of the dependency-related task referenced by the story.
DependencyResourceSubtypestringThe Asana resource subtype of the dependency-related task referenced by the story.
DependencyResourceTypestringThe Asana resource type of the dependency-related task referenced by the story.
DuplicatedFromCreatedByn/aNavigation property only. Not persisted as an explicit column on this table; an EF Core shadow foreign key is generated for the related AsanaUsers row.
DuplicatedFromGidstringThe Asana GID of the original task this task was duplicated from.

AsanaTasks

Scoped Token Permissions: tasks:read;projects:read;users:read

The AsanaProjects table stores information about projects in an Asana workspace. A project is a container for tasks and is the primary unit of work organization in Asana. This table captures project metadata (name, owner, status, dates, privacy settings, custom fields, etc.) and is the parent of tasks, project memberships, and project team memberships.

NameTypeDescription
ActualTimeMinutesintegerTotal tracked time on the task in minutes.
ApprovalStatusstringFor approval-style tasks, the current approval state (e.g., approved, rejected, pending).
AssigneeGIDstringThe Asana GID of the user the task is assigned to.
AssigneeSectionGIDstringThe Asana GID of the section the task currently lives in for the assignee.
AssigneeStatusstringThe status of the task in the assignee's My Tasks view (e.g., today, upcoming, later).
AttachmentCountintegerThe number of attachments on the task at the time of the most recent sync.
BatchDatedatetimeThe date and time data was synced to our database.
CompletedbooleanIndicates whether the task is currently marked as completed.
CompletedAtdatetimeThe date and time when the task was marked as completed.
CompletedByGIDstringThe Asana GID of the user that marked the task as completed.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedAtdatetimeThe date and time when the task was created in Asana.

AsanaTaskCustomFields

Scoped Token Permissions: tasks:read;custom_fields:read

Stores the per-task custom field values defined on Asana tasks. Each row represents one custom field on one task and captures the field's display value at the time of the sync. Multi-value custom fields produce multiple rows per task.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CustomFieldGIDstringThe Asana GID of the custom field definition.
CustomFieldNamestringThe display name of the custom field as configured in Asana.
DisplayValuestringThe human-readable display value of the custom field for the parent task.
ResourceSubtypestringThe Asana resource subtype for the custom field (e.g., text, number, enum, multi_enum, date, people).
TaskGIDstringThe Asana GID of the task this custom field value belongs to.

AsanaTeams

Scoped Token Permissions: teams:read

The AsanaTeams table stores teams that exist within an Asana workspace / organization. A team is a group of users that collaborate on a shared set of projects. This table captures team metadata (name, description, visibility) and the access-level settings that control who can manage the team.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
DescriptionstringThe team description as plain text.
EditTeamNameOrDescriptionAccessLevelstringThe access level required to edit the team's name or description.
EditTeamVisibilityOrTrashTeamAccessLevelstringThe access level required to edit the team's visibility or to trash the team.
EndorsedbooleanIndicates whether the team is endorsed by the organization.
GuestInviteManagementAccessLevelstringThe access level required to invite guests to the team.
HtmlDescriptionstringThe team description rendered as HTML.
JoinRequestManagementAccessLevelstringThe access level required to manage join requests for the team.
MemberInviteManagementAccessLevelstringThe access level required to invite members to the team.
NamestringThe display name of the team.
PermalinkUrlstringA direct URL that opens the team inside the Asana UI.

AsanaTeamMemberships

Scoped Token Permissions: team_memberships:read;users:read;teams:read

The AsanaTeamMemberships table stores the membership rows that link Asana users to Asana teams. Each row represents one user that is a member of one team along with their guest / admin / limited-access flags.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IsAdminbooleanIndicates whether the user is an admin of the team.
IsGuestbooleanIndicates whether the user is a guest member of the team.
IsLimitedAccessbooleanIndicates whether the user has limited access to the team.
ResourceTypestringThe Asana resource type for this record (e.g., team_membership).
TeamGIDstringThe Asana GID of the team the user belongs to.
TeamMembershipGIDstringThe unique global identifier (GID) for the team membership in Asana.
UserGIDstringThe Asana GID of the user that is a member of the team.

AsanaUsers

Scoped Token Permissions: users:read

The AsanaUsers table stores user accounts that are visible to the configured Service Account across the synced workspaces. This includes the user's display name, email, profile photo metadata, and serves as the parent for workspace memberships, team memberships, and project user memberships.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
EmailstringThe email address of the user.
NamestringThe display name of the user.
PhotoJsonstringSerialized JSON payload describing the user's profile photo (multiple sizes / URLs).
ResourceTypestringThe Asana resource type for this record (e.g., user).
UserGIDstringThe unique global identifier (GID) for the user in Asana.

AsanaWorkspaces

The AsanaWorkspaces table stores the Asana workspaces / organizations visible to the configured Service Account. A workspace is the top-level container in Asana — every team, project, task, and user lives inside a workspace. The `IsOrganizationflag distinguishes Enterprise organizations from non-organization workspaces.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
EmailDomainsJsonstringSerialized JSON payload listing the email domains associated with the workspace (organizations only, otherwise null`).
IsOrganizationbooleanIndicates whether the workspace is an Asana organization (true) or a regular workspace (false).
NamestringThe display name of the workspace / organization.
ResourceTypestringThe Asana resource type for this record (e.g., workspace).
WorkspaceGIDstringThe unique global identifier (GID) for the workspace in Asana.

AsanaWorkspaceMemberships

Scoped Token Permissions: workspaces:read;users:read

The AsanaWorkspaceMemberships table stores the membership rows that link Asana users to Asana workspaces. Each row captures the user's role within the workspace (active, admin, guest, view-only), the user's My Tasks list reference, and any vacation dates on file.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedAtdatetimeThe date and time when the workspace membership was created in Asana.
IsActivebooleanIndicates whether the user's membership in the workspace is currently active.
IsAdminbooleanIndicates whether the user is an admin of the workspace.
IsGuestbooleanIndicates whether the user is a guest member of the workspace.
IsViewOnlybooleanIndicates whether the user is restricted to view-only access in the workspace.
ResourceTypestringThe Asana resource type for this record (e.g., workspace_membership).
UserGIDstringThe Asana GID of the user that is a member of the workspace.
UserTaskListGIDstringThe Asana GID of the user's My Tasks list within this workspace.
UserTaskListNamestringThe display name of the user's My Tasks list within this workspace.
VacationDatesJsonstringSerialized JSON payload describing the user's vacation dates on file for this workspace.
WorkspaceGIDstringThe Asana GID of the workspace the user is a member of.
WorkspaceMembershipGIDstringThe unique global identifier (GID) for the workspace membership in Asana.

Bridge Tables

AsanaProjects_AsanaTasks

Bridge table that links Asana tasks to the projects they belong to (a task can live in multiple projects).

NameTypeDescription
ConfigIDintegerThe ID of the configuration within Compyl.
ProjectGIDstringThe Asana GID of the project that the task belongs to.
TaskGIDstringThe Asana GID of the task that belongs to the project.

AsanaTaskDependencies

Scoped Token Permissions: tasks:read

Self-referential bridge table that captures task-to-task dependency relationships within Asana. Each row links a dependent task to a blocking task; both ends point back to AsanaTasks.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
BlockingTaskGIDstringThe Asana GID of the task that is blocking the dependent task (i.e., the prerequisite).
ConfigIDintegerThe ID of the configuration within Compyl.
DependentOnTaskGIDstringThe Asana GID of the task that depends on the blocking task (i.e., the task that is blocked).

AsanaTasks_AsanaAttachments

Bridge table that links Asana attachments to the tasks they are attached to.

NameTypeDescription
AttachmentGIDstringThe Asana GID of the attachment.
ConfigIDintegerThe ID of the configuration within Compyl.
TaskGIDstringThe Asana GID of the task the attachment is on.


Did this page help you?