How to Send Data to Google sheet once mini app is submmited ?
1. Create a New Mini App Flow
Go to the platform, click âCreate New Flowâ.
Enter a flow name, select a relevant category (e.g., sign up, appointment), and choose your WhatsApp channel.
2. Design the Welcome Screen
Use the mini apps dashboard to access components.
Drag and drop:
Title field: Set the main title.
Optional image: Upload a logo or banner if desired.
Text field: Label as âEnter your nameâ.
Number field: Label as âEnter your phone numberâ.
Email field: Label as âEnter your emailâ.
Add a footer column to enable future actions like data saving or navigation.
3. Create a Submission Confirmation Screen
Click âAdd Screenâ to make a second screen.
Title it (e.g., âThank youâ).
Add a body field to display submitted details (map variables accordingly).
Optionally, add a photo column.
Rename the button to âSubmitâ and set its action to âSubmitâ.
4. Set Data Submission Actions
On the welcome screen footer, set the action type to âData Exchangeâ.
For navigation, choose âFlow Submissionâ to ensure data is passed to the thank you screen seamlessly.
5. Save and Apply Flow
After building, click âSave & Applyâ to store the flow in your CRM. (Note: This does not publish to Meta yet.)
6. Test the Mini App Flow
In the mini apps dashboard, click âMoreâ then select âSend Test Messageâ for testing purposes.
Create a new board flow, click the plus icon, choose âWhatsApp Chatbotâ.
Set âMini App Submissionâ as the trigger, select your WhatsApp channel, and the mini app you created.
Add a block to show âSubmission Historyâ and a âSend Messageâ block (e.g., âPlease wait while we are getting your detailsâ).
7. Automate Data Entry Into Google Sheets
Add an automation app, search for Google, select âGoogle Sheetsâ, then choose âAdd a Rowâ.
Authenticate via Google by signing in and selecting the right account.
From the drop-down, choose the target spreadsheet and sheet.
Map fields: connect your mini appâs name, phone, and email to the correct columns in Google Sheets.
Save the mapping.
8. Finalize and Confirm
Add another âSend Text Messageâ block with a final confirmation (e.g., âThank you. Your details have been successfully saved.â).
Save the flow.
9. Live Test and Verify
Run the test; check your Google Sheet to ensure data enters instantly as a new row from the WhatsApp mini app submission.
This process enables simple automation for collecting WhatsApp user inputs and storing them efficiently in a spreadsheet for easy management and follow-up
Last updated
Was this helpful?