Workflow

WhatsApp Grounded Customer Research Workflow

n8n workflow: WhatsApp inbound -> Scavio search on user's question -> Claude/GPT grounded answer -> WhatsApp reply.

Overview

Per inbound WhatsApp message: classify intent, route free-form questions through Scavio + LLM, return sourced answer to user.

Trigger

Inbound WhatsApp message

Schedule

Event-driven (per inbound)

Workflow Steps

1

WhatsApp Trigger node fires on incoming message

n8n native node.

2

Switch node: scripted vs free-form intent

Regex or quick-classifier.

3

Free-form path: Scavio HTTP node

Search user's question scoped to your domain.

4

LLM node: ground answer in top 3 Scavio results

Strict citation prompt.

5

WhatsApp Send node: reply with grounded answer + source links

Conversational tone.

6

Log Q + A + sources to Postgres

For later analysis of common questions.

Python Implementation

Python
# n8n is the deliverable; HTTP node body shape:
# POST https://api.scavio.dev/api/v1/search
# headers: { x-api-key: <key> }
# body: { "query": "{{$json.messages[0].text.body}} site:yourcompany.com" }

JavaScript Implementation

JavaScript
// Same — n8n's HTTP node is the integration surface.

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

Per inbound WhatsApp message: classify intent, route free-form questions through Scavio + LLM, return sourced answer to user.

This workflow uses a inbound whatsapp message. Event-driven (per inbound).

This workflow uses the following Scavio platforms: google. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 500 credits per month with no credit card required. That is enough to test and validate this workflow before scaling it.

WhatsApp Grounded Customer Research Workflow

n8n workflow: WhatsApp inbound -> Scavio search on user's question -> Claude/GPT grounded answer -> WhatsApp reply.