Why this use case exists
VAPI is the most-used third-party voice agent provider among Knotie partners, and the AI Agents page is the single entry point for every provider card. This playbook documents the end-to-end VAPI journey — not just the import step, but the full chain that gets a customer’s call on the bill:- Import VAPI agents into Knotie
- Assign an imported agent to a customer
- Attach a phone number to the agent
- Place a test call (or trigger an inbound)
- Verify the call lands in Agent Analytics with a cost breakdown
- Confirm the cost flows through AI Gateway and Credits

AI Agents page — Voice AI Agents section with VAPI AI card visible
What you’ll achieve
- A VAPI agent imported into the Partner Portal and ready to take calls
- The agent assigned to a customer with a profit multiplier set
- A phone number attached so the agent can be reached
- A test call recorded in Agent Analytics within seconds of the call ending
- A clear understanding of where the cost lands (Knotie Credits, AI Gateway, customer bill)
Prerequisites
- An active VAPI account with at least one agent already created in the VAPI dashboard
- A VAPI API key (from VAPI dashboard → Settings → API Keys)
- At least one customer already onboarded in the Knotie Partner Portal (see Onboard a customer)
- A phone number available in Knotie — either imported from VAPI/Twilio/Telnyx or purchased directly (see Phone Numbers and the Retell phone number import use case)
- Sufficient Knotie Credits to cover the test call (typically < $0.10 for a short test)
Step 1 — Open the VAPI card on the AI Agents panel
- Sign in to the Partner Portal at
https://knotie-ai.pro/partners - In the main sidebar, expand AI Agents (an expandable button under AI PLATFORM — click to reveal its sub-groups)
- The AI Agents panel organises providers into three sub-groups:
- Voice Agents — VAPI, Ultravox, Retell, ElevenLabs, GHL, Knova
- Chat Agents — Retell Chat, N8N Chat Agents
- Automation & Tokens — N8N Automation, N8N Tokens (MCP Tokens is now a top-level link, not nested here)
- Under Voice Agents, click VAPI Agents

VAPI AI card in the Voice AI Agents grid (showing an imported agent — Riley)
- Your plan may not include VAPI integrations — VAPI is a Premium Feature on some tiers and the import action will be gated.
- Check Settings → Partner API Keys to confirm your API keys are valid. The live Settings sidebar has 5 items: Profile Settings / Partner API Keys / Email Domain Management / Plans & Billing / White-Label Portal. There is no “Integration Settings” entry.
Step 2 — Start the VAPI import
- Click the VAPI AI card. You should land on the VAPI sub-page (path is roughly
/partner/ai-agents/vapi). - On the VAPI agents page, click the Import Agents button (typically top-right).

VAPI agents page — empty state with Import Agents CTA
- The import modal opens. It will prompt you for:
- VAPI API Key — paste the key from your VAPI dashboard. Knotie uses this once to fetch your agent list; the key is stored for analytics + webhook plumbing.
- Click Fetch VAPI Agents.

Import modal — VAPI API key field and Fetch VAPI Agents button
- Knotie calls VAPI and lists the agents available in your account.
- Each agent shows:
- Agent name and agent ID (read-only)
- Import status —
Availablefor new agents,Importedfor agents already in Knotie - A checkbox to select it for this import batch
- Select the agent(s) you want to import. To bring them all in one shot, use Select All.
- Click Import.

Agent list with checkboxes — Imported vs Available agents
- The modal closes and the page shows a success state. Knotie automatically:
- Registers each agent with Agent Analytics
- Sets up the webhook configuration with VAPI so call events are forwarded to Knotie

Configure Webhook modal — VAPI side of the webhook plumbing
Step 3 — Assign the imported agent to a customer
Imported agents are unassigned by default — they exist in the Partner Portal but no customer is paying for them yet.- On the VAPI agents page, find the newly imported agent.
- Open the agent’s action menu (three-dot menu or row-level actions).
- Click Assign Customer (or Map to Customer, depending on the UI version).
-
The assignment modal opens. Fill in:
- Customer — select from the dropdown of onboarded customers
- Profit multiplier — the markup you charge the customer above Knotie’s cost. Default is
1.2x(i.e. 20% margin).
- Click Save / Assign.

Assign Customer modal — customer dropdown and profit multiplier field
Step 4 — Attach a phone number to the agent
The agent can run, but no one can reach it until a phone number is mapped to it.- In the main sidebar, click Phone Numbers.
- Find or import a phone number. If you don’t have one:
- Click Import Numbers and pull one from VAPI/Twilio/Telnyx
- Or click Buy Number to purchase one through Knotie

Import Numbers page — VAPI numbers marked as Coming Soon in the current UI
- For the number you want to use, open its action menu and click Assign Agent.

Phone Numbers page (empty state — numbers must be imported before assignment)
- In the assignment modal:
- Agent — select the VAPI agent you imported
- Direction — choose Inbound, Outbound, or Both depending on the use case
- Save.
Step 5 — Place a test call
You have three options for the test, in increasing order of realism:Option A — VAPI’s test panel (fastest, no phone number needed)
- Open the VAPI dashboard at dashboard.vapi.ai
- Navigate to the imported agent
- Click the Test button in VAPI’s UI
- Speak with the agent in your browser

Test call log (failed call shown — the test-call flow itself is initiated from VAPI's dashboard, not the Knotie portal)
Option B — Inbound test call
- Call the phone number you attached in Step 4 from your mobile
- Let the VAPI agent pick up and have a short conversation (15–30 seconds is enough)
- Hang up
Option C — Outbound test call
- In the Knotie partner portal, find the imported agent
- Open the action menu and look for a Test Call / Make Outbound Call option (if available)
- Enter your mobile number and trigger the call
Step 6 — Verify the call lands in Agent Analytics
Within ~30 seconds of the call ending:- In the main sidebar, click Agent Analytics.
- Set the time period to Day to see today’s calls.
- The agent should appear in the call list with:
- Call duration matching the test call
- Status =
Completed(notFailed) - Cost broken down into LLM / STT / TTS / provider fees
- Click into the call for a transcript and per-component cost detail.

Agent Analytics — overview with the test call row visible

Agent Analytics — per-agent drill-down (Riley)
Step 7 — Verify the cost flows through Credits and AI Gateway
- In the main sidebar, click Credits. Your Knotie Credit balance should have decreased by the test call’s actual cost.
- Click AI Gateway. The VAPI agent’s LLM calls are routed through the AI Gateway, so they should also appear in the AI Gateway spend if you have an active partner-level gateway key.
- (If you assigned the customer with a profit multiplier) Open the customer’s profile → Billing to confirm the per-customer cost ledger reflects
cost × multiplier.

Credits page — Knotie Credit balance debited by the test call

AI Gateway — matching spend line for the VAPI agent's LLM traffic
Operational notes
- Multi-customer scenarios: A single VAPI agent can be assigned to multiple customers with different profit multipliers per customer. Each customer’s calls are billed independently.
- Re-importing an agent is safe. The agent ID is the source of truth; re-importing refreshes the agent’s config from VAPI without losing customer mappings.
- If the agent fails: Check the VAPI logs first, then the Knotie webhook log. The failure is almost always upstream (VAPI rate limit, model timeout) — Knotie’s layer is passive plumbing.
- Cost drift: VAPI’s per-minute rate can change. Review the agent’s
cost/minin Agent Analytics monthly and adjust the customer’s profit multiplier if needed.
Related pages
- Import a VAPI agent — focused, step-by-step on the import modal only
- Phone Numbers — number inventory, import, and purchase
- Agent Analytics — cost breakdown and per-agent drill-down
- AI Gateway — the metering layer that all LLM traffic routes through
- Credits — your Knotie Credit balance and top-up flow
- Customer onboarding — how to create the customer record before assigning the agent