ByteChef LogoByteChef

Asana

Asana is a web and mobile application designed to help teams organize, track, and manage their work tasks and projects efficiently.

Categories: Project Management

Type: asana/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Connection Setup

Create Asana App

  1. Navigate to Asana Developer dashboard.
  2. Click on Create new app.
  3. Enter app name.
  4. Check everything.
  5. Agree to the Terms.
  6. Click on Create app.
  7. Here you can see your Client ID and Client secret.
  8. Click on OAuth.
  9. Click on Add redirect URL.
  10. Add redirect URL depending on your instance:
    • https://app.bytechef.io/callback (Cloud)
    • http://localhost:5173/callback (Local dev)
  11. Click on Add.
  12. Done 🚀.

Actions

Create Project

Name: createProject

Creates a new project in a workspace or team.

Properties

NameLabelTypeDescriptionRequired
dataDataOBJECT
Properties {STRING(workspace), STRING(name), STRING(notes), STRING(team)}
false

Example JSON Structure

{
  "label" : "Create Project",
  "name" : "createProject",
  "parameters" : {
    "data" : {
      "workspace" : "",
      "name" : "",
      "notes" : "",
      "team" : ""
    }
  },
  "type" : "asana/v1/createProject"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(gid), STRING(name), STRING(notes), {STRING(gid), STRING(name)}(team), {STRING(gid), STRING(name)}(workspace)}

Output Example

{
  "data" : {
    "gid" : "",
    "name" : "",
    "notes" : "",
    "team" : {
      "gid" : "",
      "name" : ""
    },
    "workspace" : {
      "gid" : "",
      "name" : ""
    }
  }
}

Create Task

Name: createTask

Creates a new task

Properties

NameLabelTypeDescriptionRequired
dataDataOBJECT
Properties {STRING(workspace), STRING(project), STRING(name), STRING(notes), DATE(due_on), [STRING](tags), STRING(assignee)}
false

Example JSON Structure

{
  "label" : "Create Task",
  "name" : "createTask",
  "parameters" : {
    "data" : {
      "workspace" : "",
      "project" : "",
      "name" : "",
      "notes" : "",
      "due_on" : "2021-01-01",
      "tags" : [ "" ],
      "assignee" : ""
    }
  },
  "type" : "asana/v1/createTask"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(gid), DATE(due_on), STRING(notes), STRING(name), {STRING(gid), STRING(name)}(workspace), [{STRING(gid), STRING(name)}](tags), {STRING(gid), STRING(name)}(assignee)}

Output Example

{
  "data" : {
    "gid" : "",
    "due_on" : "2021-01-01",
    "notes" : "",
    "name" : "",
    "workspace" : {
      "gid" : "",
      "name" : ""
    },
    "tags" : [ {
      "gid" : "",
      "name" : ""
    } ],
    "assignee" : {
      "gid" : "",
      "name" : ""
    }
  }
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.

How is this guide?

Last updated on

On this page