text stringlengths 0 59.1k |
|---|
- Status: On the way 🚗 |
- Total: $32.97 |
- Ordered: 15 minutes ago |
Your order should arrive in about 15-30 minutes! |
``` |
#### Next Steps |
Now that you have a working WhatsApp order AI agent, consider these enhancements: |
1. **Add payment integration**: Connect Stripe or PayPal for online payments |
2. **Implement order tracking**: Real-time status updates via WhatsApp |
3. **Multi-language support**: Detect and respond in customer's language |
4. **Menu recommendations**: Use order history for personalized suggestions |
5. **Voice note support**: Process audio messages for accessibility |
6. **Admin dashboard**: Web interface for menu and order management |
7. **Analytics**: Track popular items and peak ordering times |
8. **Loyalty program**: Points and rewards for repeat customers |
9. **Group ordering**: Handle multiple people ordering together |
10. **Restaurant notifications**: Alert restaurant staff of new orders |
<|endoftext|> |
# source: VoltAgent__voltagent/website/examples/ad-creator.md type: docs |
--- |
id: 4 |
slug: ai-instagram-ad-agent |
title: AI Ads Generator Agent |
description: Build Instagram ads with VoltAgent, BrowserBase and Gemini. |
repository: https://github.com/VoltAgent/voltagent/tree/main/examples/with-ad-creator |
--- |
This example implements an Instagram ad generator with VoltAgent. The system uses BrowserBase Stagehand to analyze landing pages, extracts brand data, and generates visuals through Google Gemini AI. |
The implementation includes: |
- Web page navigation and analysis via BrowserBase Stagehand |
- Brand data extraction (tone, audience, value propositions) |
- Screenshot capture for visual reference |
- Creative brief generation through AI models |
- Ad visual generation using Google Gemini |
- Multi-agent workflow orchestration |
### Setup |
<Info title="Required accounts and API keys:"> |
- Sign in to [VoltOps LLM Observability platform](https://console.voltagent.dev/login) |
- A [BrowserBase account](https://browserbase.com) with API key and project ID |
- Google Generative AI access for [Gemini API](https://ai.google.dev/gemini-api) |
- An OpenAI API key from [platform.openai.com](https://platform.openai.com/api-keys) |
</Info> |
#### Get the example code |
Clone the ad generator example using the VoltAgent CLI: |
```bash |
npm create voltagent-app@latest -- --example with-ad-creator |
cd with-ad-creator |
``` |
You can find the source code of this example [here](https://github.com/VoltAgent/voltagent/tree/main/examples/with-ad-creator). |
#### Configure environment variables |
Create a `.env` file with your API keys: |
```env |
# Language models |
GOOGLE_GENERATIVE_AI_API_KEY=your_google_generative_ai_api_key |
OPENAI_API_KEY=your_openai_api_key |
# BrowserBase Stagehand |
BROWSERBASE_API_KEY=your_browserbase_api_key |
BROWSERBASE_PROJECT_ID=your_browserbase_project_id |
# Optional VoltOps tracing |
VOLTAGENT_PUBLIC_KEY=your_public_key |
VOLTAGENT_SECRET_KEY=your_secret_key |
``` |
#### Set Up BrowserBase |
Configure BrowserBase: |
1. Create a BrowserBase account at [browserbase.com](https://browserbase.com) |
2. Navigate to your dashboard and create a new project |
3. Copy your API key from the API Keys section |
4. Copy your Project ID from the project settings |
5. Add both values to your `.env` file |
For BrowserBase configuration details, see [BrowserBase documentation](https://docs.browserbase.com/introduction). |
 |
#### Configure Google Gemini API |
Set up Google Gemini for image generation: |
1. Go to [Google AI Studio](https://aistudio.google.com/apikey) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.