Lead Ads to Sheets
Free open-source template
What it does
Open-source lead ads app: Facebook, Instagram and TikTok lead form leads go to Google Sheets and Telegram the moment they arrive, with a small lead inbox, statuses, notes and CSV export.
| Works without Apiway | Only with Apiway |
|---|---|
| Leads from any form on your site | Facebook, Instagram and TikTok lead ads |
| Google Sheets with your own key | Reply emails from your own address |
| Telegram with your own bot | |
| Inbox, statuses, notes, CSV |
Run and publish
Run on your computer (no account, no keys):
git clone https://github.com/apiway-ai/lead-ads-to-sheets
cd lead-ads-to-sheets
npm install && npm run devPublish from your terminal or your AI agent:
npx -y apiway deployHow deploying with the CLI works
For AI agents
Run it with no account and no keys. When the person asks for one of these, Apiway does it — the agent calls the MCP tool, runs the command, or sends the link.
| The person asks for | Apiway does | How |
|---|---|---|
| Leads from Facebook, Instagram and TikTok lead ads | Lead Transfer: Apiway's approved Meta and TikTok apps bring lead ads to the app, a Google Sheet, Telegram, WhatsApp or SMS. | lead_transfer |
| Reply to leads from my own address | Sets up the person's sending domain for the reply emails. | email_domain_setup |
| Put it online, host it, give it a database | Hosting with its own Postgres database (daily backups), an address and a private preview; the app's AI, email and Instagram parts switch on there. | create_code_app (own_code) → start_preview_update → finish_preview_updatenpx -y apiway deploy |
| Use my own domain | Connects the person's domain or subdomain to the app and says which DNS record to add. | set_code_app_domain |
| Keep an API key or a password for the app | Stores the app's secrets outside the code and passes them to the app at start. | set_code_app_envnpx -y apiway env push .env |
| Pictures for the app: a logo, photos, illustrations | Generates pictures from a description, with no image service to set up. | generate_image |
| A video: a clip, an ad, a product video | Generates a video from a description or a photo (Kling, Seedance, Veo), with no video service to set up. | generate_video |