All workflows
Telegram logoGoogle Tasks logo

Run your Google Tasks list from Telegram

Add, list and tick off Google Tasks by sending /add, /list and /done to your Telegram bot.

On new message in Telegram2 apps13 steps

Apps it connects

Authenticate each one once and the workflow is ready to run.

What it does

Each integration step this workflow runs, in order, what it is for, and the conditions and loops that decide when it runs.

  1. 1TelegramNew message triggerStarts a run whenever a message arrives in the chat, acting only on ones that begin with a slash command.
  2. 2Google TasksList task listsLooks up the account's task lists to find the one whose name matches, or reports the names it did find.
  3. If verb is “add”

    1. If commandArgument is empty

      1. 3TelegramSend messageReplies in the chat with the task added, the open tasks and their IDs, the task ticked off, or an explanation.

      Otherwise

      1. 4Google TasksCreate taskCreates a task in your list titled with exactly the words you typed after /add, nothing added or rewritten.
      2. 5TelegramSend message
  4. If verb is “list”

    1. 6Google TasksList tasksFetches the open tasks in your list, both to answer /list and to find the one to tick off after /done.
    2. 7TelegramSend message
  5. If verb is “done”

    1. If commandArgument is empty

      1. 8TelegramSend message

      Otherwise

      1. 9Google TasksList tasks
      2. If matchedIds is empty

        1. 10TelegramSend message
      3. If the number of items in matchedIds is more than 1

        1. 11TelegramSend message
      4. If the number of items in matchedIds is 1

        1. 12Google TasksComplete taskMarks one open task complete when the words after /done match exactly one task's whole title or ID.
        2. 13TelegramSend message

How it works

What happens on each run, in plain English.

Whenever a message arrives in your Telegram chat, the bot checks whether it is one of three commands and acts on one Google Tasks list for you. Send /add and a title to file a task with exactly that title, /list to see everything still open with its ID, and /done with a title or ID to tick one off. Messages that are not commands are ignored.

Ticking a task off cannot be undone from the chat, so the match is strict: the words after /done must be a task's whole title or its ID, and only open tasks count. If two open tasks share a name, nothing is ticked off and the bot replies with both IDs so you can choose. No AI reads or rewrites your message, so what you type is exactly what is stored, and a long list is cut short with a note of how many tasks were left out.

You need a Telegram bot in a private chat, since anyone who can message it can change the list, and the name of a Google Tasks list on your account. If no list matches, the run stops and lists the names it found.

telegramgoogle taskstasksbotcommands

Start from a workflow that already works.

Add "Run your Google Tasks list from Telegram" to your workspace, connect its apps, and make it yours.

Free plan, no credit card