With a simple setup using Google Apps Script, you can automatically send chatbot data like names, phone numbers, emails, and messages into a structured spreadsheet in real time. No server required, no complex backend setup. Just connect your bot and start collecting leads instantly.
Google Sheets + Apps Script Webhook
This method requires no server and works perfectly with chatbot flows.STEP 1: Create Google Sheet
- Go to Google Sheets
- Create a new sheet
- Add column headers like:
STEP 2: Create Apps Script Webhook
- Click Extensions → Apps Script
- Delete the default code
- Paste this code:
Edit the code snippet - sheet.appendRow([ ]); according to your workflow
- Click Deploy
- Select New Deployment
- Choose Web App
- Under Access:
Select Anyone - Click Deploy
- Copy the Web App URL
STEP 3: Configure in Turbodev
Now go to your API section in bot’s in Turbodev.Set:
HTTP Method:
URL:
Paste your Apps Script Web App URLHeaders:
Add:Body:
Map your chatbot variables like this:Make sure the variable names match exactly with your chatbot flow.