Giter VIP home page Giter VIP logo

alfred-workflows-asana-automation's Introduction

Setup Instructions

  1. Create a new access token on Asana and set it on the accessToken env variable [1]

  2. Set your user id: use the "asana" keyword and select "My ID", then press enter to copy the gid and paste it on the "me" env variable

  3. Set the workspace id: use the "asana" keyword and select "Workspaces", select the workspace you want, and paste the gid on the "workspace" env variable

How to use

In order to create a task, use the "task" keyword. The format of the input should be this: title;description for e.g. "create a website;check the email from John and create the website according to his instructions"

In order to open the URL of the newly created task add ":" followed by a space at the end of your input, for e.g. "create a website :" or "create website;setup wordpress :"

Examples

In order to assign a user to the task, you can use the "-a" flag followed by a space at the end of your input, for e.g. "create a website -a"

In order to add a project to the task, you can use the "-p" flag followed by a space at the end of your input, for e.g. "create a website -p"

In order to add a section to the task, you can use the "-s" flag followed by a space at the end of your input, make sure that the "-p" flag exists

You can also use here the open URL feature by simply add the ":" character at the end (before or after the flags), for e.g. "create a website : -a" or "create logo;use blue and grey colors -a -p :"

In order to resync data like projects, sections, or users you can use the "asana" keyword and select the desired function.

Text formatting

Bold

To bold your message, place an asterisk on both sides of the text:

*text*

New line

To make a new line, use \n:

Development

To run the script you the following command:

me=$me workspace=$workspace accessToken=$accessToken node index.js 'task title;task description'

Set the variables to your vars.

Optional variables

assignee, projectId, sectionId

References

[1] https://asana.com/guide/help/api/api

GitHub URL

https://github.com/lacherogwu/alfred-workflows-asana-automation

alfred-workflows-asana-automation's People

Contributors

lacherogwu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.