Skip to content

Conversation

@ashishxjhaa
Copy link
Collaborator

Flow of this feature!

What onboarding feature looks like, When users first log in, a modal asks for their phone number with country selection. After entering, they receive an AI call that greets them by name like: "Hi Ashish Jha! Thanks for joining Rize. Are you comfortable with English, or would you prefer Hindi?"

The AI asks a few casual questions about their work, projects, and goals. After the call ends, all responses are sent to OpenAI which formats the data and updates the user's profile - but ONLY empty fields, existing data stays untouched.

If users click "I'll do this later", the modal closes and won't show again until they logout and login (new session).

Just add these two keys to .env
VAPI_API_KEY (Private Key from vapi)
VAPI_PHONE_NUMBER_ID (From Vapi dashboard)

Also add Server URL to vapi so that only this domain send request.

I tested locally with ngrok - everything works. Couldn't test actual calls because Vapi free tier only supports US numbers (10 free calls), but the integration is complete.

@vercel
Copy link
Contributor

vercel bot commented Nov 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rize Error Error Nov 5, 2025 11:11am

@sourabhrathourr
Copy link
Collaborator

Hi @ashishxjhaa Can you provide the system prompt used here for VAPI assistant?

@ashishxjhaa
Copy link
Collaborator Author

@sourabhrathourr what system prompt i dont understand btw i already write in backend that one?

@tanaylakhani
Copy link
Collaborator

@sourabhrathourr its in vapi config file

@tanaylakhani
Copy link
Collaborator

@sourabhrathourr its in vapi config file

src/lib/vapi-config.ts

@sourabhrathourr
Copy link
Collaborator

@sourabhrathourr its in vapi config file

src/lib/vapi-config.ts

Got it, thanks @tanaylakhani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants