OpenAI is an AI research and deployment company focused on creating artificial general intelligence (AGI). OpenAI develops various AI models for different applications, from language processing to coding and beyond.
ChatGPT is one of the flagship products developed by OpenAI. While OpenAI has multiple AI models for various purposes (e.g., DALL-E for image generation, Whisper for speech recognition), ChatGPT is specifically designed to understand and generate human-like text.
To connect ChatGPT (OpenAI) to Albato, you need an active account on the OpenAI API platform. You’ll find the step-by-step connection guide below.
Available AI models
To tailor OpenAI to your specific needs, select a model and add the relevant directives. Each model is designed for different tasks, so it's important to choose the right one depending on your requirements.
GPT-4o: for everyday tasks
Great for streamlining routine workflows with real-time responses.
Example prompts:
- Extract key insights from this call transcript.
- Summarize this investor memo.
- Rewrite this cold outreach message to sound more natural.
GPT-4.5: for creative tasks
Perfect for generating engaging, creative content with a personal touch.
Example prompts:
- Write a LinkedIn post for a product launch.
- Create a press release for a new feature.
OpenAI o4-mini: for quick technical answers
Ideal for solving coding, data analysis, and STEM-related queries quickly.
Example prompts:
- Convert this dataframe into a JSON file.
- Summarize this research paper in three key points.
OpenAI o4-mini-high: for deeper technical work
Best for advanced analysis and technical depth in complex tasks.
Example prompts:
- Analyze this code block for performance issues.
- Generate a complex MongoDB query for data analysis.
OpenAI o3: the strategic thinker
Handles multi-layered analysis, planning, and data-driven insights for strategic decisions.
Example prompts:
- Create a go-to-market plan for our AI SaaS.
- Model the impact of a price increase on churn and revenue.
Davinci: for complex tasks
Great for handling complex problem-solving, creative tasks, and advanced writing.
Example prompts:
- Write a detailed essay on the future of artificial intelligence.
- Develop a business strategy for a new startup.
Whisper: for speech-to-text and multilingual translation
Ideal for transcribing speech to text and translating across multiple languages.
Example prompts:
- Transcribe this meeting’s audio into text.
- Translate this document into Spanish, maintaining the context.
You can find more details in the following resources:
- Guide to Completions Models
- Differences between Models
- Best Practices
- Examples of Use for Various Tasks
OpenAI API pricing
The OpenAI API runs a pay-as-you-go pricing structure. This means that you get charged based on the content type, length, or task that you pass on to an AI model, as well as the output it generates.
Pricing for text generation (per million tokens ≈ 750,000 words):
- GPT-4o: $5 input / $15 output
- GPT-3.5 Turbo: $0.50 input / $1.50 output
Learn more about pricing on the OpenAI pricing page.
How to Connect ChatGPT (OpenAI) to Albato
Connect ChatGPT (OpenAI) to Albato and set up integrations with other apps to automate client responses, generate email newsletters, and streamline the creation of marketing and product descriptions.
- Go to the Apps section in your Albato account and click the Add a connection button.
- Search for ChatGPT (OpenAI), select it, and click the Add a connection button.
- Come up with a name for the connection and enter the API key.
-
To get the API key, go to your personal OpenAI account. If you haven't already, create an account on the OpenAI platform.
-
Select the API keys section and click the Create new secret key button.
- Name your key and click the Create secret key button.
- Copy the key and return to your Albato account. Paste the key into the API token field and click Continue.
Important: You won't be able to use the API unless you add credits.
- Click the icon in the top-right to open Settings.
- In the left menu, click Billing and add a payment method.
Your connection is ready, and you can now set up your automations. If you have any issues, get in touch with support via the live chat on our website.
How to set up automations
In this example, we will set up the automation with Telegram and OpenAI. Let’s use Telegram bot as an app to access OpenAI.
To get started, you need to connect both apps to Albato.
- How to connect OpenAI is described above.
- How to connect Telegram is described in this article.
Open the Automations section. Click the New button.
In the Automation builder select the first step and add a trigger to start the automation.
💡 Triggers are the events that start automations. When the selected event happens, Albato will perform the selected actions. Triggers can run in real-time or by schedule.
Set up the first step:
- App which sends the data — Telegram (private)
- Event — Incoming message
- Connection — your Telegram connection created earlier.
Click the Add a trigger button.
In this window, you can specify the allowed commands — those by which the bot will know that you need to access OpenAI. For example, /code. This is useful if you want to add the bot to the work chat where you are communicating with colleagues.
You may skip this step and add commands later, if necessary. To do this, you will need to click on the settings icon of the Telegram (private) trigger in the Automation builder section. In other articles, we will show you how to work with commands when setting up Telegram - OpenAI automation.
Set up the second step and add an action.
💡 Actions is what Albato performs when triggers occur. Actions allow you to send data to other apps and systems.
Fill in the fields with the following information:
- App which receives data — OpenAI
- Action — Get phrase completion
- Connection — your OpenAI connection created earlier.
Click the Add an action button.
On the next step, you need to configure the fields.
Select the model, specify the variable from the previous step in the Prompt field, and fill in other fields according to your needs. You can follow the example below for testing.
Click the Save button.
The next step is to choose another action which will send a response from OpenAI to your Telegram bot.
Click on the + icon and set up this step:
- App which sends the data — Telegram (private)
- Event — Reply to message
- Connection — your Telegram connection created earlier.
Click the Add an action button and fill in the fields. Then, click the Save button.
The automation is ready! You can start and test it now.
Open your Telegram bot and form a request. For example, you can ask to write a description of Facebook and Google Sheets integration using the following words: integration, API. You can also ask to translate it into English, Portuguese, and Spanish.
Modes and commands of the bot
The bot has 3 special commands and "Free communication mode". Within these commands, the bot can be given various tasks in the form of messages. The commands are needed for the bot to be able to choose the right model of the neural network and improve the quality of the result. The bot receives messages from you, sends them through the API to OpenAI and, after receiving the result, returns them to you as a response message. Responses may come with a slight delay, depending on the complexity of the task or the number of characters sent. All commands except "Free mode" must be specified as the first word in your messages.
⚠️ Any text you send is moderated by OpenAI, this process is almost instantaneous, but make sure that your messages do not contain hateful content , content that promotes, encourages, or depicts acts of self-harm, such as suicide, content that promotes or glorifies violence or celebrates the suffering or humiliation
Command /story
This command generates a continuation of your text and a picture for it using artificial intelligence. Along with the command you need to specify the text or the beginning of the text or the main theses to "continue". The command /story is specified at the beginning of the message. In the reply message from the bot you will get the generated text and a picture to it. The more input you give, the better the result will be. The command is suitable for generating content for articles, creative descriptions or character descriptions.
Example 1
Sending a message:
/story A marketer hadn't slept in two days. He needed to set up end-to-end analytics, but...
Get a response from the bot:
The marketer did not sleep for two days. He needed to set up end-to-end analytics, but had to work out everything precisely down to the smallest detail to make his work as professional as possible. After hours of trying and pain of creating analytical reports, he finally did everything he had planned. All he had to do was analyze the data and build graphs, and the marketer realized that he was able to solve his problem.
Command /code
The command is designed to work with tasks that are related to code. For example you can translate JavaScript to Python, find errors in written code or find out the value of a variable. Badly suited, for tasks where you need to work with both text and code. That is, if we need to translate text into HTML or generate an SQL query from text, it is better to use "Free mode". The command /code puts the first word in your message.
Example 1
Sending a message:
/code What value will be in the string field?:
let test = [
"test",
"test",
"test",
'test2'
];
let string = test.map(el => el + 'OMG')join()
Get a response from the bot:
// response: testOMG,test2OMG
Example 2
Sending a message:
/code
Fix bugs in the below function
import Random
a = random.randint(1,12)
b = random.randint(1,12)
for i in range(10):
question = "What is "+a+" x "+b+"? "
answer = input(question)
if answer = a*b
print (Well done!)
else:
print("No.")
Get a response from the bot:
// response:
import random
a = random.randint(1,12)
b = random.randint(1,12)
for i in range(10):
question = "What is "+str(a)+" x "+str(b)+"? "
answer = input(question)
if answer == str(a*b):
print ("Well done!")
else:
print("No.")
Command /image
This command will send the text message to OpenAI and return a picture based on it generated by artificial intelligence. You can use it if you need to get creative with your article, product logo and other graphical content from the text. To use, specify the command /image as the first word in your post.
Example 1
Sending a message:
/image
Create a logo for the company:
- The company does maintenance on BMW cars
- Premium service.
- has no competitors
- Associations: panther, tiger
- Colors: black, red, blue, gold
Get a response from the bot:
Free communication mode
The most powerful mode. Does not have a specific syntax or command. But the more specific and clear the description of the query, the better the result will be. You can translate text into other languages, generate code from text, clear text from symbols, generate company names or categorize lists. For more accurate work, try to make sure your message begins with the task you want to perform. If the task contains a list, specify it after a colon.
Example 1
Sending a message:
Clear text from HTML:
<p>I'm made on Albato and here are my options:</p>
<ul>
<li>Automation</li>
<li>Integration</li>
</ul>
<b>Join the most popular community!</b>
<a href="https:
www.albato.com">Albato</a>
Get a response from the bot:
I'm made on Albato and here are my features:
- Automation.
- Integration.
Join our community! Albato - https://albato.com
Example 2
Sending a message:
Send an SQL query to find all customers who have an average receipt of more than 1000 rubles and the date of registration more than November 1, 2022.
Get a response from the bot:
SELECT *
FROM customers
WHERE AVG(check_total) > 1000
AND registration_date > '2022-11-01';
To see the Quick ChatGPT Setup in action and explore a real-life use case with Trello, head over to our YouTube channel.
Watch the video tutorial for a step-by-step guide on creating an AI assistant in Trello, with which you can generate content ideas directly in Trello. Discover how to integrate Trello with OpenAI and automate workflows without writing a single line of code.
Expand your knowledge and gain practical insights by checking out the video today!