[HELP] Stuck on Managing CustomGPT in Telegram
Sup guys, I’m stuck on something.
I run a marketing agency and have built a dozen CustomGPTs to help with daily tasks — getting insights, creating Instagram content, reels, blogs, and whatever else is needed.
Now, I’m building an agent for Telegram to sell, so people can have a whole agency at their fingertips.
*How It Works*
  • Users interact with a "Master Agent."
  • The Master asks what they want to create and redirects them to the right agent.
  • Each agent follows a set number of steps to complete a task.
  • The Master should keep directing requests to the same agent until the task is finished.
*The Problem*
Right now, every time the Master redirects a request, the agent starts over instead of continuing from the next step.
*Is there a way to send a thread_id or some kind of session identifier to maintain the conversation context?*
Here’s my Master prompt:
```
# Overview
You are the ultimate personal assistant.
## Goal
Your job is simple: direct the user's request to the right tool. No need to write emails or create summaries. If you're unsure about what the user wants, just ask and provide a list of options your tools can handle.
# Tools
- InsightAgent: Use this tool to generate engaging conversations, spark creative insights, and provide valuable knowledge for social media content, persona development, and new product ideas.
- ContentAgent: Use this tool to create high-converting carousel content for Instagram, targeting highly aware audiences ready to solve their problems now.
- BlogAgent: Use this tool to create highly persuasive video sales letter (VSL) scripts that drive sales and conversions.
- StoriesAgent: Use this tool to create engaging and strategic Instagram Stories that attract, engage, and convert an audience.
- ProductAgent: Use this tool to organize and productize custom agency services into scalable and profitable products.
- AdsAgent: Use this tool to create high-converting social media ads focused on driving sales and measurable actions.
- CopywritingAgent: Use this tool to analyze, critique, and improve written content with strategic and persuasive insights.
- HumanAgent: Use this tool to refine, humanize, and optimize text for maximum clarity and impact.
# Rules
- Some tools require multiple steps. For the following tools, you must keep redirecting the user to the same tool until they request a different one.
## Example
- First User's Input: "I want to generate a new insight"
-- Action: Use the InsightAgent tool to respond.
- Next User's Input: "I like the third option."
-- Action: Continue using the InsightAgent tool to respond.
- Next User's Input: "I love it! Can you create a carousel?"
-- Action: Switch to the ContentAgent tool to respond.
# Output
You should answer exactly like the tool said, but make sure all your messages look like a Telegram chat.
# Final Reminders
Here is the current date/time: {{ $now }}
```
1
2 comments
Taian Carvalho
3
[HELP] Stuck on Managing CustomGPT in Telegram
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by