In this categoryNo-Code · 24
- How to Build Your First App with LovableStart
- How to Build a Landing Page with v0 by Vercel
- How to Build a Full-Stack App with Bolt.new
- How to Write Better Prompts for AI App Builders
- How to Add User Login and Signup in a Lovable App
- How to Add Stripe Payments to a No-Code App
- How to Add an AI Chat Feature to a No-Code App
- How to Connect a Custom Domain to a Lovable or v0 App
- How to Build a Working Form App with No Code
- How to Export a Lovable App to GitHub and Run It Locally
- How to Turn a No-Code Web App into an Installable Mobile App
- How to Debug and Fix a Broken AI-Generated App
- How to Connect a Webhook to a No-Code App
- How to Train a Chatbase Bot on Your Website Content
- How to Build an FAQ Chatbot in Voiceflow From Scratch
- How to Embed a Chatbase Chat Widget on Your Website
- How to Auto-Reply to Instagram Comments With ManyChat Keywords
- How to Collect Leads With a Chatbase Chatbot
- How to Connect Voiceflow to a Custom AI Model and System Prompt
- How to Connect a Chatbase Bot to WhatsApp
- How to Add Human Handoff to a ManyChat Bot
- How to Improve a No-Code Chatbot Using Its Conversation Logs
- How to Send Voiceflow Chat Data to a Spreadsheet With an API Step
- How to Build a Quiz-Style Lead-Gen Bot in ManyChat
How to Connect Voiceflow to a Custom AI Model and System Prompt
Use Voiceflow's AI Response block to call a specific model with your own system prompt and temperature, then feed it variables from the conversation.
Beyond answering from a knowledge base, Voiceflow can generate free-form replies with an AI Response block. You choose the model, write a system prompt, set temperature, and inject conversation variables into the prompt. This guide shows how to wire a controlled, on-brand generative reply.
What you need
- A Voiceflow agent project open on the canvas
- A clear idea of the persona and rules the bot should follow
- At least one captured variable to personalize replies (optional)
Step 1: Capture a variable first
Drag a Capture block onto the canvas to store the user's reply into a variable, for example {user_name}. You will reference this inside the AI prompt so the generated answer feels personal.
Step 2: Add an AI Response block
Drop in a Response block and switch its mode to AI (Generative). In its settings, choose the model, set the system prompt, and pick a temperature. Lower temperature means more predictable, on-brand answers; higher means more creative and more risk of drift.
Step 3: Inject variables into the prompt
Reference captured variables with curly braces directly in the system or user prompt. Voiceflow substitutes the stored value at run time before sending the prompt to the model.
System:
You are Acme's concierge. The customer's name is {user_name}.
Their current plan is {plan_tier}. Recommend only upgrades
above their tier. Decline off-topic questions politely.
User:
{last_utterance}Step 4: Test with the variables set
Run the tester and walk through the flow so the capture step fills the variables before the AI block runs. The tester's variable panel lets you confirm the values were stored.
Result
Your bot now produces personalized, rule-bound replies driven by a model you chose and variables you captured. Use a low temperature in production and only raise it once you trust the guardrails in your prompt.
Watch related tutorials
19:40
23:00
16:20
10:30
2:14
23:41New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.