Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Integration
To start integrating Telegram with Gemini, first access Pabbly Connect by visiting pabby.com/connect. This platform allows you to create automated workflows without any coding skills.
If you are new to Pabbly Connect, sign up for a free account. You will receive 100 free tasks monthly to explore its features. Once logged in, you’ll find the dashboard where you can create your workflows.
2. Creating a Workflow with Pabbly Connect
After accessing Pabbly Connect, click on the “Create Workflow” button. Choose the option to create using AI, which simplifies the setup process.
- Select “When a new Telegram message comes” as the trigger.
- Add Gemini as the action application to generate the image.
- Map the image generation request to send back to Telegram.
Once you input these settings, approve the workflow. This will create the necessary connections for your automation.
3. Setting Up the Telegram Bot
To enable image generation requests through Telegram, you need to create a bot. Search for “BotFather” in Telegram and follow the prompts to create a new bot.
- Provide a name for your bot, such as “AI Image Generator”.
- Set a unique username for your bot.
- Copy the token provided by BotFather for integration with Pabbly Connect.
Paste this token into Pabbly Connect to establish a connection between your bot and the platform.
4. Testing the Integration
After setting up the bot, add it to your Telegram group where image requests will be posted. Activate the bot and send a test message to ensure it captures the request.
- Post a request like “Generate a tropical beach at sunset” in the group.
- Check Pabbly Connect for captured messages.
- Ensure the response is correct and matches your request.
This step confirms that your Telegram bot is correctly linked with Pabbly Connect and ready to process requests.
5. Generating Images with Gemini
Now that the integration is set, configure Gemini to generate images based on user requests. Connect to Gemini using the API key obtained from your Gemini account.
- Select the model type, such as “Nano Banana”.
- Map the user’s request to the prompt field in Gemini.
- Send the generated image back to Telegram using the bot.
Once you complete these steps, your image will be generated and sent to the Telegram group, completing the automation process using Pabbly Connect.
Conclusion
In this tutorial, we showed how to integrate Telegram with Gemini using Pabbly Connect. By following these steps, you can automate image generation requests effortlessly and enhance your workflow.



