Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinjalbert/notion-heroku
Heroku hosted application that performs Notion actions (i.e., new task, new note) based on voice requests via IFTTT Webhooks and Google Assistant.
https://github.com/kevinjalbert/notion-heroku
google-assistant heroku ifttt ifttt-webhooks notion
Last synced: 3 months ago
JSON representation
Heroku hosted application that performs Notion actions (i.e., new task, new note) based on voice requests via IFTTT Webhooks and Google Assistant.
- Host: GitHub
- URL: https://github.com/kevinjalbert/notion-heroku
- Owner: kevinjalbert
- License: mit
- Archived: true
- Created: 2019-06-22T16:58:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-29T02:28:51.000Z (almost 5 years ago)
- Last Synced: 2024-06-27T13:39:18.227Z (4 months ago)
- Topics: google-assistant, heroku, ifttt, ifttt-webhooks, notion
- Language: Python
- Homepage: https://kevinjalbert.com/integrating-notion-with-google-assistant/
- Size: 451 KB
- Stars: 43
- Watchers: 6
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This repository is ⚰️ ARCHIVED ⚰️
`notion-heroku` as an individual project has been sunsetted and merged into [`notion-toolbox`](https://github.com/kevinjalbert/notion-toolbox). In `notion-toolbox` is where this project lives on. The merge happened on December 27, 2019.
---
> Heroku hosted application that performs [Notion](https://www.notion.so/) actions (i.e., new task, new note) based on voice requests via [IFTTT Webhooks](https://ifttt.com/maker_webhooks) and [Google Assistant](https://ifttt.com/google_assistant).
## Prerequisites
1. Have a [Notion](https://www.notion.so/) account
2. Have a [Heroku](https://heroku.com/) account
3. Have an [IFTTT](https://ifttt.com/) account (with Google Assistant service enabled)
4. Have [Specific Notion Template](https://www.notion.so/Week-Template-0a7ac4d03082417c929176b5ea1df07e) as described in [this blog post](https://kevinjalbert.com/my-weekly-notion-setup/)
5. Your Notion Token
6. URLs for Several Notion Object## Install
_Note:_ The required environment variables mentioned in the below steps are outlined in [kevinjalbert/alfred-notion](https://github.com/kevinjalbert/alfred-notion)'s section on [finding your Notion Token](https://github.com/kevinjalbert/alfred-notion#finding-your-notion-token) and [finding your Notion URLs](https://github.com/kevinjalbert/alfred-notion#finding-your-notion-urls).
_Additional Note:_ You will want to set the `TZ` environment variable for your Heroku application to match your current timezone (i.e., `America/Toronto`). This will ensure that the correct day is used when creating a note or task.
### With Heroku Deploy Button
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)1. Use above deploy button to create/launch application on [Heroku](https://heroku.com/)
2. Navigate to application settings page (i.e., https://dashboard.heroku.com/apps/your-notion-heroku/settings) and set required environment variables.### Manually
1. Clone the repository via `git clone [email protected]:kevinjalbert/notion-heroku.git`
2. `heroku create`
3. `git push heroku master`
4. Set all required environment variables via `heroku config:set xxxx=yyyy`### Setting up IFTTT Actions
Click to view walkthrough (images)
This walkthrough demonstrates how to setup a IFTTT action to add a Notion Task.
The main difference is that the webhook URL is either `/add_note` or `/add_task` in Step 6.
#### Step 1 - Choose _Trigger_ Service (Google Assistant)
![Step 1](./step1.png)
#### Step 2 - Choose Google Assistant Trigger
![Step 2](./step2.png)
#### Step 3 - Complete Google Assistant Trigger Fields
![Step 3](./step3.png)
#### Step 4 - Choose _Action_ Service (Webhooks)
![Step 4](./step4.png)
#### Step 5 - Choose Webhooks Action
![Step 5](./step5.png)
#### Step 6 - Complete Webhook Action Fields
![Step 6](./step6.png)
## Author
👤 **Kevin Jalbert**
* Twitter: [@kevinjalbert](https://twitter.com/kevinjalbert)
* Github: [@kevinjalbert](https://github.com/kevinjalbert)## Show your support
Give a ⭐️ if this project helped you!
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_