Ifttt Todoist Google Assistant



I’ve been using Habitica for a little over a year now and absolutely love it. It’s basically just a complicated To-Do list with some different options around repeating tasks with a mix of gamification to keep me interested. Over the past couple of weeks there have been times when I have found myself having my hands full and not being able to manually add tasks when I wanted to. So the next obvious step is to figure out a way around that.

Open/Activate Google Assistant and say/enter 'Let me talk to Todoist'. Give permission to link your Google Assistant account with your Todoist account (you may need to log in to your Todoist account to do so). Access Todoist through Google Assistant on your Android, Smart Home or iOS (with Assistant app) device. Using Todoist with Google Assistant. Dec 27, 2019 ToDoist and Google Home & Assistant. Automating ToDoist with IFTTT. IFTTT has always been one of the most popular, free tools to automate your life. Once integrated, it can boost your daily. Google Assistant. Connect your Google Assistant to hundreds of other services. Create custom voice commands for your Google Assistant. Available on Android, iOS and Google Home devices. Google Assistant에는 많은 유용한 기능이 내장되어 있지만 자동화 서비스 'IFTTT'와 함께 Assistant를 사용하여 숨겨진 잠재력을 최대한 활용할 수 있습니다. 여기 확실히 확인해야하는 10 가지 Google Assistant IFTTT Recipes가 있습니다. Connect Todoist with Google Assistant Open/Activate Google Assistant and say/enter 'Let me talk to Todoist'. Give permission to link your Google Assistant account with your Todoist account (you may need to log in to your Todoist. Access Todoist through Google Assistant.

Google Assistant

Ifttt Todoist Google Assistant

I recently got the Google Pixel and have been attempting to work my entire life around Google Assistant. My problem seemed like an obvious candidate to be solved using the voice commands with my phone, so I started investigating into the Assistant. Unfortunately I couldn’t find any way of hooking up the Google Assistant directly to Habitica. So I figured I would need to add some sort of intermediary step between Google Assistant and Habitica.

IFTTT and todoist and Maker

I’ve used IFTTT for automating a few random things in my life, so checked out IFTTT first. Stumbled upon todoist as a great “this”, it works perfectly with Google Assistant and seems to be easily configurable.

For the “that” section, I needed to be able to connect to Habitica. Habitica has a pretty decent API, tested it out in Postman and seemed to fulfill my needs:

headers:

Ifttt Todoist Google Assistant Free

body:

I found a “that” section called “Maker” in IFTTT that allows you to send HTTP requests. The only problem with Maker is that it doesn’t let you supply headers with the request, which obviously means that I wasn’t going to be able hit Habitica directly from IFTTT.

Intermediate Node.js App

Ifttt

Since I can still make HTTP requests from IFTTT, I decided to throw together a Node.js application that sits between IFTTT and Habitica. The simple app had the following requirements:

Google Assistant Download For Pc

  1. Can receive requests with everything in the URL.
  2. Has some type of token authentication so that I can verify that only I can add tasks to my To-Do list
  3. Has the ability to make requests to Habitica with my Habitica API credentials and a task.

This is what I was able to come up with. Super simple application that does some basic key checking for verification, then makes a request to Habitica with the required tokens and the task to be created. Most of the logic sits on the index.js file and is as follows:

Once it was all good to go, I pushed it up to Heroku so I can access it from IFTTT. To utilize it, it’s just a simple get request to “/todo/:key/:task”, where key is the UUID that I created for the app and task is the new task to be added to my To-Do list.

Ifttt Todoist Google Assistant App

Wrapping Up

So the final workflow for the “task” is as follows:

Ifttt Todoist Google Assistant
  1. I tell Google Assistant: “Note to self, mow the lawn”
  2. Google Assistant adds the task to my todoist list
  3. IFTTT polls my todoist lists for new tasks and picks it up
  4. IFTTT triggers and calls my endpoint with the endpoint API key
  5. My endpoint verifies the key and hits the Habitica API with my API user/token and the new task
  6. Habitica adds my new task to my To-Do list.
    • I probably procrastinate mowing the lawn anyway…

It was a bit frustrating that Maker doesn’t allow for headers, but was able to get around it with my quick app. Ideally long term the better solution would to be able to go right from Google Assistant to Habitica, but for now I have filled my needs!

If anyone has any suggestions or improvements feel free to shoot me an email.