With the new OpenAI integration, you can create different use cases to optimize your daily tasks. Check out 5 examples of automations with OpenAI!
1. Searching for information and creating tasks with AI from Google Sheets
OpenAI can be used to autogenerate descriptions for new integrations. In this case, we will fill columns in a spreadsheet in Google Sheets indicating Services, Object Name, and Actions. Through automation, you can automatically populate the Descriptions column with AI-generated text and even create new cards in a Trello board with the data from the integrations.
Follow our step-by-step guide to build this scenario!
Set up the first step:
- App — select Google Sheets
- Event — select New row created
- Google Sheets account — choose or create your connection
- Spreadsheet — look for the task automation spreadsheet
- Spreadsheet sheets — specify the sheets
In the automation operation mode settings, select the real-time option.
Set up the second step as follows:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — choose or create your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 1000
- Temperature — 0.5
- Number of generations — 1
Now, click + icon to add the third step.
Select the Action option to set up this step:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — add your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 100
- Temperature — 0.5
- Number of generations — 1
Click + icon to add the fourth step.
Select the Action option to set up this step:
- App — select Trello
- Action — select Create card
- Trello account — choose or create your connection
- Board — specify the board
In the Trello window, fill in the requested fields:
- Name — OpenAI: Result text
- Description — OpenAI: Result text
- Position — Top (top)
- List ID — select the variable
Click + icon to add the fifth step.
Select the Action option to set up this step:
- App — select Google Sheets
- Action — select Update a row by number
- Google Sheets account — add your connection
- Spreadsheet — look for the task automation spreadsheet
- Spreadsheet sheets — specify the sheets
In the Google Sheets window, fill in the requested fields:
- Row number — Google Sheets: Row number
- Column Descriptions — OpenAI: Result text
You’re all set! Now you just need to start your automation!
2. Create marketing and SEO descriptions from completed tasks
In this scenario, whenever a task is completed in Trello, the automation will fetch the Trello card ID and craft an SEO description through the OpenAI integration. After that, you can create a database item in Notion with the obtained information.
Learn below how to build this use case!
Set up the first step:
- App — select Trello
- Event — select Card moved from one list to another
- Trello account — choose or create your connection
- Board — specify the board
Set up the second step as follows:
- App — select Trello
- Action — select Find card by ID
- Trello account — choose or create your connection
- Board — specify the board
In the next window, fill in the requested field with the Trello: Card ID variable.
Now, click + icon to add the third step.
Select the Action option to set up this step:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — add your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 1000
- Temperature — 0.7
- Number of generations — 1
Click + icon to add the fourth step.
Select the Action option to set up this step:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — add your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 500
- Temperature — 0.8
- Number of generations — 1
Click + icon to add the fifth step.
Select the Action option to set up this step:
- App — select Notion
- Action — select Create Database Item in Notion
- Notion account — add your connection
- Database — specify the database
In the Notion window, fill in the requested fields:
- Name — OpenAI: Result text
- SEO description — OpenAI: Result text
- Task description — Trello: Description
You’re all set! Now you just need to start the automation!
3. Text translation with AI
In this example, you can leverage OpenAI to autotranslate the description of Notion items and automatically update the database.
Follow our step-by-step guide to build this scenario!
Set up the first step:
- App — select Notion
- Event — select Update Item Database in Notion
- Notion account — choose or create your connection
- Database — specify the database
Click Save in the field setting screen.
Set up the second step as follows:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — choose or create your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 1000
- Temperature — 0.7
- Number of generations — 1
Now, click + icon to add the third step.
Select the Action option to set up this step:
- App — select Notion
- Action — select Update Item Database in Notion
- Notion account — choose or create your connection
- Database — specify the database
In the Notion window, fill in the requested fields:
- Page ID — select Notion: Page ID
- Translation — select OpenAI: Result text
You’re all set! Now you just need to start your automation!
4. Crafting marketing descriptions in HTML and sending to Telegram
In this scenario, you can automate the creation of marketing descriptions based on item updates in Notion and then send the auto-created posts via Telegram.
Follow our step-by-step guide to build this workflow.
Set up the first step:
- App — select Notion
- Event — select Update Item Database in Notion
- Notion account — choose or create your connection
- Database — specify the database
Click Save on the field settings screen.
Set up the second step as follows:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — choose or create your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 1000
- Temperature — 0.2
- Number of generations — 1
Now, click + icon to add the third step.
Select the Action option to set up this step:
- App — select Telegram (private)
- Action — select Send message
- Telegram account — add or create your connection
In the Telegram window, fill in the requested fields:
- Chat ID — select the desired chat ID
- Markup type — HTML
- Text — OpenAI: Result text / Notion Cover
You’re all set! Now you just need to start your automation!
5. Bot for personal productivity
In this scenario, you can create a Telegram bot to help you optimize your productivity. Send messages with instructions or questions to Telegram and get AI-generated answers right in your chat.
Follow our step-by-step guide to build this automation.
Set up the first step:
- App — select Telegram (private)
- Event — select Incoming message
- Telegram account — choose or create your connection
Click Save on the field settings screen.
Set up the second step as follows:
- App — select OpenAI
- Action — select Get phrase completion
- OpenAI account — add or create your connection
In the OpenAI window, fill in the requested fields:
- Model ID — select text-davinci-003 (text-davinci-003)
- Prompt — add the phrase to complete and use the system variables
- The maximum number of tokens — 1000
- Temperature — 0.8
- Number of generations — 1
Now, click + icon to add the third step.
Select the Action option to set up this step:
- App — select Telegram (private)
- Action — select Reply to message
- Telegram account — choose or create your connection
In the Telegram window, fill in the requested fields:
- Chat ID — Telegram (private): Chat - ID
- Text — OpenAI: Result text
- Reply to message - ID — Telegram (private): Message - ID
You’re all set! Now you just need to start your automation!
Did you have any questions or issues while building the automations? Then watch our video tutorial with the five use cases above!