Coconote
AI notes
AI voice & video notes
Try for free
🤖
Building AI Agents with Make.com and OpenAI
May 1, 2025
Creating an AI Agent with Make.com and OpenAI
Overview
The video provides a guide to creating an AI agent using Make.com and OpenAI.
The agent can interact with users via platforms like Telegram, WhatsApp, Slack, etc.
Capabilities include researching topics, generating images, and posting on social media.
Utilizes OpenAI's function calling to create separate scenarios for different tasks.
Key Components
Function Calling
Allows creating simple scenarios like research and image tools.
Example: A research tool uses Perplexity, and an image tool uses Flux One.
Scenarios
Research Tool
: Uses Perplexity to gather information.
Image Tool
: Utilizes Flux One for image generation.
Social Media Posting
: Posts to social media using Make.com's internal Facebook app.
Demonstration
Example task: Create a Facebook post about Deep Seek V3.
Process:
Send a message via Telegram.
Make.com scenario triggers OpenAI assistant.
Calls research tool to gather information.
Draft Facebook post is generated and refined through interaction.
Option to generate an accompanying image.
Final approval to post on Facebook.
Design Pattern
Modular and easy to understand.
Allows use of different triggers and tools.
Scenario Setup
A main scenario is triggered by a new message.
Use of a Telegram bot and instant trigger.
OpenAI assistant orchestrates the workflow.
System instructions and rules guide the assistant in creating and posting content.
Functions and Tools
Define functions like research, image, and posting tools within the assistant.
Use webhooks to connect scenarios and trigger actions within Make.com.
Creating Functions
Generate functions like 'Research Tool' with input parameters.
Define the function calls and connect them to scenarios.
Reusability and Advantages
Simple scenarios can be reused across different agents.
Micro templates facilitate ease of use and integration.
Handling Errors and Chat History
Use a data store to manage chat history with a thread ID.
Implement error handlers to manage active runs and relay error messages.
Error Handling Steps
Add error handlers and routers to manage specific error messages.
Relay errors back to Telegram for internal diagnosis.
Community and Resources
Join the community for access to automations and micro templates.
Subscribe for more AI agent content and live support.
📄
Full transcript