How it works
To move data from WhatsApp Business Cloud to Google Sheets automatically, use a ready-made scenario — no manual exports.
- Starts when: MSG | Telegram Inbound
- Check: IF | Message or Callback?
- If yes: IF | User Authorized?
- If yes: LLM | Parse Intent
- Then: JS | Extract Intent JSON
- Check: IF | Category Present?
- If yes: MERGE | Combine Category + Person
- Then: JS | Merge Intent Fields
- Then: SET | Assemble Resolved Intent
- Then: GS | Load Expenses
- Check: MERGE | Combine Expenses + Categories
- Then: JS | Filter & Aggregate
- Then: JS | Format Response Message
- Then: TG | Send Reply
- Then: GS | Load Categories
- If no: SPLIT | Split Categories
- Check: MERGE | Join Categories with Mapping
- Then: SET | Normalize Category
- Check: MERGE | Check Category against Allowed
- Check: IF | Category Known?
- If yes: MERGE | Combine Categories with List
- Check: LOOP | Iterate Categories
- Check: MERGE | Loop Entry (Category)
- Then: SET | Set Resolved Category
- Then: AGG | Aggregate Resolved Categories
- Then: LLM | Classify Category
- Then: SET | Extract LLM Category
- Then: TG | Confirm Category Suggestion
- Check: IF | Category Suggestion Accepted?
- If yes: SET | Set New+Old Category (LLM)
- Check: MERGE | Combine Category Mapping Entries
- Then: GS | Save Category Mapping
- If no: JS | Build Category Inline Buttons
- Then: HTTP | Send Category Selection Message
- Then: WAIT | Wait for Category Selection
- Then: SET | Read Callback Body (Cat.)
- Then: SET | Set New+Old Category (Selection)
- If no: GS | Read Category Mapping
- If no: GS | Read Allowed Categories
- Then: AGG | Aggregate Category List
- Check: IF | Person Present?
- If yes: MERGE | Combine Person Mapping
- If no: SPLIT | Split Persons
- Check: MERGE | Join Persons with Mapping
- Then: SET | Normalize Person
- Check: MERGE | Check Person against Allowed
- Check: IF | Person Known?
- If yes: MERGE | Combine Persons with List
- Check: LOOP | Iterate Persons
- Check: MERGE | Loop Entry (Person)
- Then: SET | Set Resolved Person
- Then: LLM | Classify Person
- Then: SET | Extract LLM Person
- Then: TG | Confirm Person Suggestion
- Check: IF | Person Suggestion Accepted?
- If yes: SET | Set New+Old Person (LLM)
- Check: MERGE | Combine Person Mapping Entries
- Then: GS | Save Person Mapping
- If no: JS | Build Person Inline Buttons
- Then: HTTP | Send Person Selection Message
- Then: WAIT | Wait for Person Selection
- Then: SET | Read Callback Body (Person)
- Then: SET | Set New+Old Person (Selection)
- If no: GS | Read Person Mapping
- If no: GS | Read Allowed Persons
- Then: AGG | Aggregate Person List
- If no: IF | Category or Person Callback?
- If yes: JS | Read Category Callback
- Then: HTTP | Forward Category Selection
- Then: TG | Confirm Category Selection
- If no: JS | Read Person Callback
- Then: HTTP | Forward Person Selection
- Then: TG | Confirm Person Selection
You can launch this WhatsApp Business Cloud + Google Sheets integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.