New
🌍 WhatsApp API Calling is now available globally! Start making calls with respond.io today. Learn more
arrow-icon
All Collections >
Product >
Workflows >
Step: AI Objective

Step: AI Objective

Avatar
Sana
· 16 Jul 2025
5 min read

The AI Objective Step automatically hands off a conversation to AI, which uses your configured knowledge sources and settings to either answer incoming questions or collect required information. It continues chatting until the objective is met or a failure condition is triggered.

This step relies on:

  • Objective Type (Answer Questions or Collect Information)

  • Knowledge Sources (any documents, URLs, or Snippets you’ve uploaded)

  • Snippets Toggle (if on, the bot can pull from saved Snippets)

  • Reply Outside Knowledge Sources Toggle (if on, the bot falls back to a general AI model when it can’t find an answer in your sources)

Once the AI Objective Step starts, AI Objective engages the contact until all questions are answered or required information is collected. Make sure to send a final “thank you” or goodbye message to close the conversation properly.

Branches

Every AI Objective Step has these five branches:

  1. Success (always enabled)

    • Answer Questions: Triggers when all incoming questions can be answered from your Knowledge Sources.

    • Collect Information: Triggers when all required variables have been collected from the contact.

  2. Failure: Speak to Human

    • Activated if the contact requests a human agent.

    • Enable by toggling on Contact Asks To Speak To A Human.

  3. Failure: AI Unable to Answer

    • Activated if the bot can’t find or generate an answer from your Knowledge Sources (only for Answer Questions).

    • Enable by toggling on Failure: AI Unable To Answer.

  4. Failure: Others (always enabled)

    • Catches any unexpected technical issues (e.g., channel disconnects or credit exhaustion).

  5. Failure: Idle

    • Activated if the contact doesn’t reply within the configured timeout (60 minutes by default).

    • Enable by toggling on Add Contact Idle Branch.

Below is a quick reference for each branch:

Branch Name

When It Triggers

How to Enable

Success

Answer Questions: All questions answered by Knowledge Sources
Collect Information: All required variables captured

Always enabled (cannot be removed)

Failure: Speak to Human

Contact explicitly asks for a human

Toggle Contact Asks To Speak To A Human

Failure: AI Unable to Answer

Bot couldn’t find a match in Knowledge Sources (Answer Questions only)

Toggle Failure: AI Unable To Answer

Failure: Others

A technical error occurred (e.g., channel disconnected, credits ran out)

Always enabled (cannot be removed)

Failure: Idle

Contact doesn’t respond within timeout

Toggle Add Contact Idle Branch

Configuration

When you add an AI Objective Step, you configure these elements:

AI Objective Builder

Click Launch AI Objective Builder to open a guided, chat-style interface. Instead of filling in multiple fields manually, the Builder asks you to:

  • Pick whether AI Objective should Answer Questions or Collect Information

  • Provide any required variable details (for Collect Information)

  • Preview and finalize your setup

Click Launch AI Objective Builder to open a guided, chat-style interface. Instead of filling in multiple fields manually, the Builder asks you to:

  • Pick whether AI Objective should Answer Questions or Collect Information

  • Provide any required variable details (for Collect Information)

  • Preview and finalize your setup

Objective Type

Choose one of two objectives:

  • Answer Questions: AI Objective will use your Knowledge Sources to answer all incoming questions (great for FAQs or simple support flows).

  • Collect Information: AI Objective will ask the contact specific questions, store their responses as variables, and update contact fields or external apps (ideal for lead qualification or data collection).

Choose one of two objectives:

  • Answer Questions: AI Objective will use your Knowledge Sources to answer all incoming questions (great for FAQs or simple support flows).

  • Collect Information: AI Objective will ask the contact specific questions, store their responses as variables, and update contact fields or external apps (ideal for lead qualification or data collection).

AI Persona

Write a short description of how AI Objective should speak (tone, role, and expertise). For example, “A friendly support agent who provides concise, helpful answers.”

If you skip this, a default professional persona is applied. A clear persona helps ensure the bot’s replies match your brand voice.

Collect Information (Variable Settings)

If you selected Collect Information, these additional fields appear:

  • Variable Configuration – Click to add or remove variables.

  • Required – If on (default), the bot will keep asking until it captures this data.

  • Variable Name – Label your variable (e.g., contact_age). You can reference it later in the Workflow using $contact_age.

  • Variable Type – Choose from options like Text, Phone Number, Email, etc.

  • Variable Description – Provide guidance or validation rules (e.g., “Phone number must start with +601 and be 11–12 digits”).

  • Add Another Variable – Click to add more as needed.

Filling in these fields accurately can help the AI Objective Step collect the information you need from your customers.

Advanced Settings (Both Objectives)

  • Add Contact Idle Branch – Toggles on the Idle branch if the contact doesn’t reply within the timeout.

  • Contact Asks To Speak To A Human – If on, any message like “I want a human” switches to the Speak-to-Human branch.

  • Failure: AI Unable To Answer – (Answer Questions only) If on, any unanswered question moves to the “cannot answer” branch.

Knowledge Sources & Snippets

AI Objective needs at least one AI Knowledge Source (PDF, URL, or Snippet) to function. These sources provide the factual content AI Objective uses to answer questions or ask for details.

  1. Add AI Knowledge Sources: Go to Workspace Settings → AI Assist → Manage Knowledge Sources, then upload PDFs or add URLs/Snippets.

  2. Keep Sources Focused: For best results, upload topic-specific documents (e.g., “Product A FAQ” rather than a single large file).

  3. Enable Snippets: If you turn on Use Snippets as a Knowledge Source, AI Objective can pull from your saved Snippets. If off, it ignores Snippets and only uses full Knowledge Sources.

Tip: If AI Objective can’t find an answer in your Knowledge Sources but Reply Outside Knowledge Sources is enabled, it will fall back to use general knowledge to base responses on. If that fallback is disabled, AI Objective will only respond when it finds a match in your sources.

Best Practices & Troubleshooting

  • Break Up Large Files: Avoid uploading one huge PDF. Splitting content into focused files helps AI Objective locate answers faster.

  • Double-Check Variable Names: If you rename a variable, update any references (e.g., $new_variable_name) in later Workflow steps.

  • Test Branches: Try both objectives (Answer Questions and Collect Information) to ensure contacts move through branches correctly.

  • Review Error Branches: If contacts are ending up in “AI Unable to Answer,” either add missing content to your Knowledge Sources or allow AI Objective to reply outside of knowledge sources.

  • Refine Persona: If responses sound off, tweak the AI Persona text to better match your desired tone.

  • Properly Close Chats: Always send a final goodbye or confirmation message so AI Objective knows the conversation is complete.

Suggested Use Cases

Here are some ways you can use the Branch Step:

  • Maximize Customer Service Potential with AI Objective: The AI Objective Step enables businesses to engage with customers instantly by providing quick responses to low-level conversations involving basic product information (e.g., FAQ’s), policies (e.g., return policy), basic troubleshooting steps for common technical issues or errors, etc. By taking over such routine conversations, this frees up human agents for more complex conversations and tasks.

FAQ and Troubleshooting

Can my workflow have more than one AI Objective Step?

Yes, your workflows can include more than one AI Objective Step, and each Step can have its own set of knowledge sources and other configurations that define how AI responds to the Contact.

Is AI Objective Step available on my plan?

Yes, this Step is available for every pricing plan on our platform.

How can I avoid issues with the AI Objective when testing Workflows?

To avoid issues, always close the conversation after a test workflow ends (look for the workflow {{wf_name}} has ended event) before starting a new test. Running multiple tests in the same open conversation can cause the AI Objective Step to behave unpredictably.

Share this article
Telegram
Facebook
Linkedin
Twitter

Related articles 👩‍💻

Step: Update Lifecycle
Learn about best practices, use cases and how it works when implementing the Update Lifecycle Step.
Step: Send Conversions API Event
Learn about the configuration, how it works, best practices and more when implementing the Send Conversions API Event step.
How to Avoid Workflow Loops
Learn how to prevent workflow loops that cause unnecessary repetitions, system overload, and delays.
Step: Send TikTok Lower Funnel Event
Learn about the best practices, use cases and how it works when implementing the Send TikTok Lower Funnel Event Step.
Step: Add Google Sheets Row
Learn about the configuration, best practices and use cases for implementing the Add Google Sheets Row Step.

Can't find what you're looking for? 🔎