Albato
  • Language
    En
    English
    Portuguese
    Spanish
  • Welcome to Albato Help

    How to Build 5 Automations with ChatGPT(OpenAI)


    IN THIS ARTICLE

    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

    OpenAI1.png

    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

    OpenAI2.png

    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

    OpenAI3.1.png OpenAI3.2.png

    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

    OpenAI2.png

    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

    OpenAI4.1.png OpenAI4.2.png

    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

    OpenAI5.png

    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

    OpenAI6.1.png OpenAI6.2.png

    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

    OpenAI7.png

    In the Google Sheets window, fill in the requested fields:

    • Row number — Google Sheets: Row number
    • Column Descriptions — OpenAI: Result text

    OpenAI8.png

    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

    OpenAI9.png

    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

    OpenAI10.png

    In the next window, fill in the requested field with the Trello: Card ID variable.

    OpenAI11.png

    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

    OpenAI2.png

    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

    OpenAI12.1.png OpenAI12.2.png

    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

    OpenAI2.png

    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

    OpenAI13.1.png OpenAI13.2.png

    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

    OpenAI14.png

    In the Notion window, fill in the requested fields:

    • Name — OpenAI: Result text
    • SEO description — OpenAI: Result text
    • Task description — Trello: Description

    OpenAI15.png

    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

    OpenAI16.png

    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

    OpenAI2.png

    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

    OpenAI19.1.png OpenAI19.2.png

    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

    OpenAI17.png

    In the Notion window, fill in the requested fields:

    • Page ID — select Notion: Page ID
    • Translation — select OpenAI: Result text

    OpenAI18.png

    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

    OpenAI16.png

    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

    OpenAI2.png

    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

    OpenAI20.1.png OpenAI20.2.png

    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

    OpenAI21.png

    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

    OpenAI22.png

    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

    OpenAI23.png

    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

    OpenAI2.png

    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

    OpenAI24.1.png OpenAI24.2.png

    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

    OpenAI25.png

    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

    OpenAI26.png

    You’re all set! Now you just need to start your automation!

    If you're interested in other AI tools, check out Grok vs ChatGPT vs Claude vs Gemini overview. It has info on all the recent updates of the model that make them even more versatile and powerful.

    Did you have any questions or issues while building the automations? Then watch our video tutorial with the five use cases above!

    Did this answer your question?