--- title: "Create and Configure the Shopping Agent" slug: "create-and-configure-the-shopping-agent" description: "Create and configure the Shopping Agent, Insider One's AI shopping chatbot that guides customers through product discovery in a natural, personalized way." updated: 2026-11-13T11:10:41Z published: 2026-11-13T11:10:41Z canonical: "academy.insiderone.com/create-and-configure-the-shopping-agent" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Create and Configure the Shopping Agent The Shopping Agent, also known as the AI shopping chatbot, is an AI-powered conversational assistant designed to guide users through **product discovery** and **shopping experiences** in a natural, personalized way. It connects with your **product catalog**, **recommendation system**, and [**Eureka search**](/v1/docs/eureka-overview) to help customers find products and receive tailored suggestions instantly. By automating repetitive interactions and surfacing the most relevant products, the Shopping Agent helps brands improve **conversion rates**, **streamline support operations**, and **deliver consistent**, **on-brand communication** across all digital channels. In this guide, you will find answers to these questions: - [What are the requirements for creating a Shopping Agent?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#prerequisites) - [How can I create a Knowledge Base for my Shopping Agent?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#step-1-create-your-knowledge-base) - [How can I create a Shopping Agent?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#step-2-create-your-shopping-agent) - [How can I set my Shopping Agent's personality?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#step-3-set-your-agents-personality) - [How can I set Response Guidelines for my Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#response-guidelines) - [How can I select a Eureka Strategy for my Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#shopping-agent-merchandising) - [How can I link the Knowledge Base to the Shopping Agent?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#step-4-link-the-knowledge-base) - [How can I create Actions for the Shopping Agent?](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#step-5-create-actions) - [How can I create Playbooks for my Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#step-6-create-playbooks) - [How can I test and update my Shopping Agent configuration?](/v1/docs/create-and-configure-the-shopping-agent#step-7-test-and-update-your-shopping-agent) - [How can I test the draft version of my Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#step-71-test-your-draft) - [How can I deploy the Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#step-8-deploy-shopping-agent) - [How can I launch the Shopping Agent?](/v1/docs/create-and-configure-the-shopping-agent#step-81-launch-the-shopping-agent) - [How can I connect the Shopping Agent to a channel?](/v1/docs/create-and-configure-the-shopping-agent#step-82-connect-the-shopping-agent-to-a-channel) ## Prerequisites Before setting up the Shopping Agent, make sure the following checkpoints are completed. These steps ensure your catalog, search, and recommendation systems align with the agent’s functionality. ### Checkpoint 1: Product Catalog Integration (Mandatory) The Shopping Agent needs access to your **product catalog** to understand and respond to user queries accurately. **Requirements** - Define all **product attributes**, both required and custom ones. - Confirm your catalog integration method: - Options are API, XML, and Feed Management. - Provide a **catalog feed** that includes all mandatory fields: - **Item ID** - **Group code** - **Price** - **Category** - **Attributes (e.g., color, size, material, etc.)** - Make sure your catalog includes every **attribute** needed to answer user questions. - For example, if users might ask for a “quiet washing machine,” the catalog must include a noise level attribute. - Verify that attribute values are **valid** and **consistent** across all locales. ### Checkpoint 2: Eureka Onboarding (Depends on Use Case) Configure [**Eureka Search**](/v1/docs/integrate-the-eureka-search-api) correctly so the Shopping Agent delivers relevant search results. **Requirements** - Ensure all required **product attributes** for Eureka exist in your catalog. - Support the initial configuration for: - **Locales** - **Search options** - **Facets and sorting** > [!WARNING] > When the Shopping Agent uses Eureka, its product suggestions follow Eureka’s active [Global Filter](/v1/docs/eureka-global-filtering) configuration. Before testing or launching the agent, navigate to **InOne** > **Search and Merchandising** > **Eureka** > **Eureka Settings** > **Global Filters** and confirm whether out-of-stock products should be included in or excluded from search results. - Define and confirm: - **Search facets and sorting options** - **Searchable attributes** - **Smart variant grouping** (if needed) - **Synonyms** (if needed) - **Global Filters**, including whether out-of-stock products should be included ### Checkpoint 3: Smart Recommender Onboarding (Optional) You can activate [Smart Recommender](/v1/docs/smart-recommender-overview) to enable personalized product suggestions based on user behavior and catalog data. This feature enhances the Shopping Agent’s ability to recommend relevant items to each customer. > [!WARNING] > **Requirement:** Complete the Smart Recommender algorithms setup with Insider One (or your connected personalization partner). ### Checkpoint 4: Shopping Agent Onboarding Configure the logic and capabilities of the Shopping Agent. **Requirements** - Document and share all **use cases** for your Shopping Agent. - Provide and confirm the list of APIs or functions that will be used, such as: - **Stock check** - **Product detail retrieval** - **Price fetch** - Confirm **Eureka settings** and ensure alignment with your product catalog. - Verify **UCD integration** for complete end-to-end functionality. ### Component Overview Each checkpoint in the Shopping Agent setup depends on a specific component. Refer to the table below to see which configurations are mandatory, conditional, or optional based on your use case. | Checkpoint | Component | Dependency Type | Mandatory | | --- | --- | --- | --- | | Checkpoint 1 | Product Catalog | Data Integration | ✅ Required | | Checkpoint 2 | Eureka Search | Search Configuration | ⚙️ Conditional | | Checkpoint 3 | Smart Recommender | Personalization | ❌ Optional | | Checkpoint 4 | Shopping Agent Core | Logic & API Setup | ✅ Required | > [!NOTE] > - **Conditional** → Required only if you plan to use Eureka Search with your Shopping Agent. > - **Optional** → Smart Recommender enhances personalization but isn’t mandatory for setup. ### InOne Setup Requirements Before creating and deploying your Shopping Agent, make sure the following setup components are completed. These ensure that the agent can access the right systems, data, and tone of voice for your brand. - **User Roles**: Only users with Administrator or Editor roles can create, edit, or delete a Shopping Agent in InOne. Read [User Roles](/v1/docs/user-management) for further information. - **Personality Configuration:** Each Shopping Agent must have a defined personality that determines how it communicates with users. Configure attributes such as: This setup ensures a consistent, brand-aligned experience across all user interactions. - **Communication style and tone**: friendly, informative, or professional - **Level of formality**: conversational or structured - **Preferred response length and format**: preferred length, format, or structure - **Overall purpose or intent**: the agent’s primary intent (e.g., assist with **product discovery** or **recommendations**) - **Knowledge Base:** The Shopping Agent relies on a structured Knowledge Base to provide accurate and informed responses. - The Knowledge Base is created by **crawling** a specified website to collect relevant content. - **Admins** can customize crawl settings to focus on specific sections or pages. - Without a knowledge base, the agent **cannot** generate accurate answers. Once these components are in place, you’re ready to move on to the Shopping Agent setup process. ## Step 1: Create your Knowledge Base The Knowledge Base (KB) is the primary information source for Shopping Agents. It enables agents to deliver accurate, real-time responses by referencing content directly extracted from your website. To learn how to set up your Knowledge Base, refer to [Create a Knowledge Base for AI Agents](/v1/docs/create-a-knowledge-base-for-ai-agents) and continue with **Step 2** below. ## Step 2: Create your Shopping Agent The Shopping Agent helps you quickly set up a conversational AI assistant tailored to your brand and catalog. Once your [Knowledge Base](/v1/docs/create-a-knowledge-base-for-ai-agents) is ready, you can create your Shopping Agent directly from the InOne platform. > [!NOTE] > The Shopping Agent automatically uses your existing catalog, recommendation, and Eureka data, no extra catalog integration is needed. To create your Shopping Agent, 1. Navigate to **InOne** > **Agent One** > **AI Agents**. 2. Click **Create** in the top-right corner. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-U4QMJ1E1.png) 3. Select **Shopping Agent** as the agent type. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-8YM05I6C.png) 4. Enter a name for your agent and click **Create**. > [!NOTE] > - This name is used for internal reference only. > - It won’t affect how the agent communicates or behaves; it simply helps you identify and organize agents within the platform. ## Step 3: Set your Agent’s personality On the Personality page, you define how your agent communicates and behaves in conversations. These settings help ensure your agent aligns with your brand voice and handles interactions consistently. ### Requirements for Personalization To use **Dynamic Instructions** and **Audience Instructions** effectively, ensure the following: - **Same Insider One account**: The agent must be created in the same Insider account as the website where the Insider Tag is implemented. - **User identification**: Customers must have a matched profile in the **Unified Customer Database (UCD)** at the time of the conversation. - **WhatsApp setup**: The customer’s phone number must be defined as an identifier in [**UCD**](/v1/docs/unified-customer-database-ucd), and the WhatsApp number must be linked to the same Insider One account as the agent. > [!NOTE] > If you are unsure whether these requirements are met, contact the Insider One team. When these requirements are in place, proceed with the setup steps below: Use the **Communication Style** section to control how your agent responds to users. - **Tone of Voice**: Select the tone that best reflects your brand. Options include Friendly, Neutral, Direct, Formal, and Humorous. - **Message Length**: Choose the level of detail in responses: - **Concise**: Short and to the point - **Standard**: Balanced level of detail - **Detailed**: More comprehensive responses ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-2IYA2ZIW.png) ### Response Guidelines Response Guidelines are single-step rules that define how your agent responds to specific types of customer questions. Each guideline combines example customer queries with the response behavior you want the agent to follow when it receives a similar query. You can use Response Guidelines for behaviors that would otherwise be included in Default Instructions, such as refund policies, compliance boundaries, or topics that the agent should redirect instead of answering. Response Guidelines are optional. You can continue to the next step without creating one. > [!NOTE] > You can create **up to 20** Response Guidelines per agent. To create a Response Guideline: 1. In the **Response Guidelines** section on the Personality page, click + **Create Response Guideline**.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-FH62HGK6.png) 2. Enter a Response Guideline name. > [!NOTE] > The Response Guideline name can contain Latin letters, numbers, punctuation, and spaces, with a maximum of 64 characters. For example, **Refund Policy** and **Iade Politikasi** are valid names. Emoji and non-Latin characters are not supported. > [!NOTE] > Each Response Guideline Name must be unique within the agent. The uniqueness check is not case-sensitive, so **Refund Policy** and **refund policy** are considered the same name. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-E3NFO0YG.png) 3. Add your **Customer Query Examples**. Each example should represent a question a customer might ask and should be written in natural customer language. > [!WARNING] > You can add between **1 and 10 examples**, with a **maximum of 200 characters** for each example. You can click **+ Add Query Example** to add another example or use the remove control to delete one. Identical examples are not supported, so use different phrasing for each example. 4. Fill in the **Agent Response**. The Agent Response defines the behavior the agent follows when a customer query matches the examples in the guideline. Describe how the agent should respond instead of writing the exact response. For example: *Explain the 14-day refund window and offer to open a ticket.* > [!WARNING] > This field is required and accepts **up to 1000 characters**. 5. Click **Create**. The guideline appears in the Response Guidelines table, and a confirmation message confirms it was created. - To edit a Response Guideline, click its name in the table or select **Edit** from the row menu. The drawer opens with the saved values, and the primary action changes to **Update**. > [!WARNING] > When you update a Response Guideline, the Customer Query Examples saved in the drawer replace the existing examples. Any examples you remove are deleted from the guideline. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-VF6LPXS7.png) - To delete a Response Guideline, select **Delete** from the row menu. A confirmation window opens and displays the name of the guideline you are about to delete. > [!NOTE] > The table displays up to 10 guidelines per page. If the agent has more than 10 guidelines, use pagination to view the remaining guidelines. ### Instructions In the **Instructions** section, you can define how your agent should behave across conversations. Three types of instructions are available: - #### Default Instructions Default Instructions define the general rules that apply to all conversations. Use this section to: - Set dos and don’ts - Define how to handle sensitive topics - Specify preferred terminology - Apply brand-specific guidelines > [!NOTE] > You can add up to 40,000 characters to the Default Instructions field. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-346O87IE.png) - #### Dynamic Instructions Dynamic Instructions allow you to personalize responses using customer data from Insider One profiles. When a conversation starts, the agent automatically replaces Dynamic Attributes (such as name, phone number, or email address) with actual customer values. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-GP5LSHPZ.png) > [!WARNING] > You must define a fallback value for each Dynamic Attribute. If a value is missing, the fallback text is used instead. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-DY04EA14.png) > [!NOTE] > - Dynamic Instructions support up to 1,200 characters. > - Dynamic Instructions apply to all users. To customize behavior for specific groups, use **Audience Instructions**. > - Dynamic Instructions and Audience Instructions are supported on Web Messenger and WhatsApp. ### Shopping Agent merchandising Use the **Shopping Agent Merchandising** section to apply a Eureka Strategy to your Shopping Agent. When a strategy is selected, the agent's product searches use that strategy's merchandising rules, such as boosted, buried, or hidden products. Selecting a strategy is optional. > [!NOTE] > The **Eureka Strategy** list shows the strategies created in Eureka for your account. If no strategy has been created yet, the list shows **No Data to Show**. To create a strategy, see [Create a Eureka Strategy](https://academy.insiderone.com/docs/create-a-eureka-strategy). To select a strategy: 1. Click the **Eureka Strategy** field. The list shows each strategy with its name and ID. 2. Search for a strategy by its name or ID, or scroll through the list. 3. Hover over a strategy to see its details: **Type**, **Configurations**, and **Time Zone**. To open the strategy in Eureka in a new tab, click **Visit Eureka Strategy**. 4. Select the strategy. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-822CHSI1.png) 5. Click **Save and Continue**. - Each Shopping Agent can use one strategy. You can use the same strategy on more than one Shopping Agent. - To remove the strategy, click the **✕** icon in the **Eureka Strategy** field, then click **Save and Continue**. The agent then searches without a strategy. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-XU342512.png) - If the strategy assigned to the agent is deleted in Eureka, the **Eureka Strategy** field shows the warning "The Eureka Strategy assigned to this AI Agent no longer exists. You can select another strategy." Select another strategy, or click **Save and Continue** to save the agent without a strategy. - The strategy is saved to the draft version of your agent. Conversations use it after you launch the agent (see [Step 8.1](/v1/docs/create-and-configure-the-shopping-agent#step-81-launch-the-shopping-agent)). To check the strategy before you launch, use the **Test AI Agent** panel. The preview uses the draft version. - The strategy applies on every channel the agent is connected to, such as Web Messenger and WhatsApp. - The strategy applies to the agent's product searches. Image Search results don't use the strategy. - The strategy doesn't need to be in use on your website. Selecting it for the agent doesn't change your website's search results. ### Audience Instructions You can use the Audience Instructions to define behavior for specific customer segments. Each Audience Instruction includes: - A segment that determines the target audience - An instruction that defines how the agent should behave for that group > [!NOTE] > This feature must be enabled for your account. Contact the Insider One team to activate it. To add an Audience Instruction: 1. Click the **+ Add Audience Instruction** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-N1FWCZI1.png) 2. Select an existing Insider One segment or add a new segment using customer attributes and events. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-8Q2XWJ91.png) > [!NOTE] > Only users who match the segment will receive this instruction. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-8OZZDTUD.png) 3. Scroll down to the Instructions field. You should enter the behavioral rules that apply exclusively to this audience. Keep the instructions focused on what makes this segment different from your general user base. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-KMHIO3XU.png) 4. Click **Continue**. These settings give you full control over your agent’s tone and behavior, helping you deliver consistent and personalized experiences. 1. To save your changes, click **Save and Continue**. > [!NOTE] > Refer to the [Best Practices for Shopping Agent guide](/v1/docs/best-practices-for-shopping-agent) for tips on creating effective agent identities. > [!NOTE] > Refer to the [Best Practices for Shopping Agent guide](/v1/docs/best-practices-for-shopping-agent) to learn how to create custom instructions for your Shopping Agent. ### Test AI Agent Panel You’ll find the Test AI Agent panel on the right side of the screen while editing your Shopping Agent. This panel lets you interact with the draft version, preview real-time responses, and observe how the agent behaves before publishing. > [!WARNING] > Triggering a test automatically saves any unsaved changes to your draft. #### What can you test in the Shopping Agent panel? In the Test Shopping Agent panel, you can test: - Tone and personality - Knowledge base responses - Actions and output behavior - Product catalog search and display - Price and currency formatting - Locale-based product availability - Response alignment with product data - Links and CTA (Call-to-Action) behavior > [!WARNING] > The test preview uses your connected Product Catalog configuration. > > Ensure that your **locale** and **currency settings** match those in your catalog to avoid mismatches or display errors. #### Adjust Test Settings You can configure your test environment through the **Settings** icon in the upper-right corner of the Test Shopping Agent panel. This allows you to select both the **Product Catalog Currency** and **Catalog Locale** used during preview. To adjust your test settings: 1. Click the **Settings** icon on the Test Shopping Agent panel. 2. Under Product Catalog Currency, choose the desired currency (for example: USD, EUR, or TRY). 3. Under Catalog Locale, select the locale you want to preview (for example: en_US, tr_TR, fr). 4. Click **Apply** to confirm your changes. Refer to the GIF below to learn how to adjust the test settings for your Shopping Agent.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/test_shp.gif) > [!WARNING] > The selected currency and locale must match a valid combination defined in your Product Catalog configuration. > > Choosing mismatched values (for example, locale `en_US` with currency `TRY`) will cause display or data errors. > [!NOTE] > **Example configuration**: > > - **Catalog Currency**: `TRY` > - **Catalog Locale**: `tr_TR` > > In this case, the test panel should use the same configuration to correctly display localized prices and product information. > > When testing with a locale such as `en_US`, the Shopping Agent will display English content with USD pricing, reflecting the corresponding catalog version. #### Preview Output After you configure your test settings, the Test Shopping Agent panel displays **product cards** that match your selected **locale** and **currency**. Each product card includes: - Product name and price - Product image - “Go to Product” link > [!NOTE] > The test preview focuses solely on the Shopping Agent. To see how the agent behaves on a channel, use the channel's **Preview** before you launch it. After you submit an input, the agent’s response appears along with detailed information that helps you understand how the answer was generated, especially when no product card is returned. You can view: - **Sources**: Displays which Knowledge Base sources contributed to the response. - Hover over a source to see the **specific URL** used during response generation. - **Actions**: Lists any actions triggered by the response, including: - **Debug ID** - **Parameters used** - **Values passed to the action** ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-HRLL6BZQ.png) This visibility helps you verify whether each response originates from the correct source and whether all actions are functioning properly. The Test AI Agent panel is your go-to environment for validating the accuracy, functionality, and quality of your Shopping Agent before publishing it live. > [!NOTE] > To test how your agent behaves for a specific user, using their real attributes like name, loyalty tier, or order history, refer to [Preview Your AI Agent as a Specific User](/v1/docs/preview-your-ai-agent-as-a-specific-user). ## Step 4: Link the Knowledge Base Linking a Knowledge Base (KB) enables your Shopping Agent to generate accurate, context-aware responses using your website content. The Knowledge Base acts as the primary information source for your agent’s answers. **Before you begin**: - Make sure you have already created a Knowledge Base. Refer to the [Create a Knowledge Base for AI Agents](/v1/docs/create-a-knowledge-base-for-ai-agents) guide. - Each Shopping Agent can be linked with up to 4 Knowledge Bases. - You can create a maximum of 4 Knowledge Bases per account. **Activation requirements:** - The Knowledge Base you want to link must have the status = Active. - KBs in Processing or Error states cannot be assigned and will not appear in the selection list. - Always confirm that the crawl is complete and the Knowledge Base is finalized before linking it to an agent. To link a Knowledge Base, 1. Open the Knowledge Base dropdown in your agent setup. 2. Select the Knowledge Base you want to connect to. 3. To apply the changes, click **Save and Continue**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-JUKNRQY1.png) ## Step 5: Create Actions > [!WARNING] > Exit Action is no longer available. If your agent previously had Exit Actions, they have been removed and a warning ribbon on the Actions step informs you about it. You can contact the Insider One team for further information. Actions are predefined operations that your Shopping Agent can trigger based on user intent. They allow the agent to **perform external tasks via APIs**. > [!NOTE] > Shopping Agent does not save collected values to a customer profile, resend a failed message, move a message to another channel, or trigger a one-time password (OTP) again by itself. To build such a flow, create an API Call action that calls an API that you define. For example, to save a collected email address or phone number to a customer profile, send the values to the [Upsert User Data API](https://academy.insiderone.com/docs/upsert-user-data-api). > [!WARNING] > Each agent can include up to **40 actions**. In the Actions tab, you'll see a list of all actions you've previously created. If you haven't created any actions yet, the list starts empty. To add a new action, 1. Click the **Create Action** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-K3VA5XBP.png) 2. Select your Action type, enter your Action name, and click **Next.**![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-70G2KW2B.png) ### API Call Action Choosing API Call Action allows your agent to perform an external operation; for example, checking an order status, submitting a request, or retrieving information from another system. For example: A customer asks, “I want to check the status of my order.” → The Shopping Agent recognizes the intent and triggers an API call to fetch the order status automatically. After selecting the **API Call Action**, you should fill in the required fields: - In the **Action Prompt** section, you need to define the triggering intent or question that will initiate the action. For example: "This action should be triggered when a user asks to retrieve information related to the status of their recent order, such as 'What's the status of my recent order?' or 'Can you check my delivery update?'" ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/agent-one-shopping-agent-documentation-image-3711fxvh.png) - In the **Parameters** section, you can collect necessary data from the user. For example: - **Name**: order_id - **Type**: String - **Description**: "The order number shared by the customer." ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-J0OCND2W.png) - The API Endpoint section contains the following request configuration options: ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-039MVHB3.png) - **Method**: Select the HTTP method for the request: **GET**, **POST**, **DELETE**, **PATCH** or **PUT** - **API Endpoint URL**: Select a saved API Endpoint from the dropdown. API endpoints are managed under **InOne** > **Agent One** > **AI Agents** > **Settings** > **API Endpoints**. For more information, see [AI Agents Settings](https://academy.insiderone.com/docs/ai-agents-settings). Admin users can also create a new API Endpoint directly by selecting **Create API Endpoint**. - **Path**: Extends the selected API endpoint URL. Enter a static path or include dynamic values (for example, /orders/{{order_id}}) by selecting **Add Dynamic Content**. - **Final URL Preview**: Displays a read-only preview of the complete request URL, combining the selected HTTP method, API Endpoint URL, and Path. - In the Headers tab, you can: - View the headers configured for the selected API endpoint. These are loaded automatically as read-only, and sensitive values are masked. - Add request-specific headers by selecting **Add Header**. - Override an endpoint header by adding a header with the same key. The request-specific header takes precedence for that action only. - ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-G7XPRFLI.png) - In the Body tab, you can define the request body using either **Form-data** or **Code Editor**. - In **Form-data** mode, select **Add Property** to add key-value pairs to the request body. - ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-QYMLJSCJ.png) - - In **Code Editor** mode, enter the request body in JSON format. The editor validates the JSON as you type. You can: - Use **+ Add Dynamic Content** to insert values collected during the conversation into the request body. - Combine static values with dynamic content to build the request body required by your API. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-8LTP7AT9.png) - Before saving the action, select **Test API** in the bottom-right corner to test the request. Admin users can: ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-O9MU3MOZ.png) - Enter test values manually or select **Use Random Values** to populate supported fields. - Review the response status and response body returned by the API. > [!NOTE] > Test API requests are limited in frequency; if you test repeatedly in a short time, please wait for a short while and try again. ## Step 6: Create Playbooks A Playbook is a named, multi-step procedure that defines how your agent handles a specific customer situation. While a [Response Guideline](https://academy.insiderone.com/docs/create-and-configure-the-shopping-agent#response-guidelines) shapes how the agent responds to a single type of question, a Playbook defines a sequence of actions the agent should follow from start to finish. For example, a Playbook can instruct the agent to confirm an order number, check the order status through an Action, and then explain the outcome to the customer. Use Playbooks for policy-driven scenarios that require the same steps in the same order, such as returns, refunds, damaged-order claims, and identity checks. When a customer message matches a Playbook's **Trigger Context**, the agent follows the Playbook's **Instructions** for that case instead of relying only on the agent's general instructions. > [!NOTE] > Playbooks are optional. You can launch an agent without creating one. > [!NOTE] > You can create **up to 15** Playbooks per agent. To create a Playbook: 1. Open the **Playbooks** step for your agent and click the **+ Create Playbook** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-41OJMJGB.png) 2. Enter a **Playbook name** and click **Next**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-I1LRKHYF.png) > [!NOTE] > The name can contain Latin letters, numbers, punctuation, and spaces, with a maximum of 64 characters. For example, Return Request and Kargo Iadesi are valid names. Emoji and non-Latin characters are not supported. > [!NOTE] > Each **Playbook name** must be unique within the agent. The uniqueness check is not case-sensitive. 3. Fill in the **Trigger Context**. Describe the customer situation that should start the Playbook using language that reflects how customers might describe the issue. For example: "The customer wants to return an item they have already received and asks about the return window, the process, or the refund." > [!WARNING] > This field is required and accepts up to 1200 characters. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-65XDMPLN.png) 4. Write the **Instructions**. Define the steps the agent should follow, in order. To have the agent call an Action during a step, click **+ Add Action** and select one of the Actions already configured for the agent. The selected Action appears as a chip in the **Instructions** and can be positioned within the relevant step. > [!WARNING] > Playbooks use the Actions already configured for the agent. Create the Action first, then add it to the Playbook. > [!NOTE] > **Instructions** are required and accept **up to 8000** characters. 5. Click **Create**. The Playbook appears in the **Playbooks** table, and a confirmation message confirms it was created. To view an example while creating a Playbook, hover over the **Playbook Example** chip beside the form title. The example opens in place and shows a sample **Trigger Context** and sample **Instructions**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-UCFA2VZE.png) To edit a Playbook, select **Edit** from the row menu. The drawer opens with the saved values, and the primary action changes to **Update**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-09IU7Y37.png) To delete a Playbook, select **Delete** from the row menu and confirm the action in the window that opens. ## Step 7: Test and Update your Shopping Agent When editing your Shopping Agent, you will see an indicator on the interface showing whether you are working in **Live** or **Draft** **mode**. The Draft version allows you to safely test updates, such as changes to configuration, Knowledge Base, or Actions, without affecting the live version. This provides a secure environment to experiment and refine before publishing. ### Live vs. Draft Currently, version history or snapshots are unavailable. Each agent has two version states: - **Live version:** The active version currently in use. - Channels only use the Live version. - Any changes made to this version will immediately affect conversations on your channels. - **Draft version:** A working copy where you can make and test changes before publishing. - Once changes are saved to the draft, you cannot roll back to a previous draft. If the agent has already been launched, the **Restore Active Version** button becomes available. Clicking this button **resets** the draft to match the **current live setup**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-4DL2C3Q9.png) ### Step 7.1: Test your Draft To save your latest edits, click **Save as Draft**. You can also test your updates directly in the [Test AI Agent panel](/v1/docs/create-and-configure-the-shopping-agent#test-ai-agent-panel) to preview how your agent behaves with the current draft configuration. Refer to the GIF below to see how you can test your Shopping Agent. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/testshp.gif) You can test your changes: - Individually, after editing each section - Collectively, after completing all updates This flexible workflow lets you fine-tune your Shopping Agent step by step or all at once, depending on your team’s process. If you are not satisfied with your edits, click **Restore Active Version** to discard the draft. > [!NOTE] > This option appears only for agents that have already been launched and are in **Live** mode. This two-version setup allows you to test, adjust, and improve your Shopping Agent safely without affecting real user conversations until you are ready to publish. Once the Shopping Agent is published, it becomes the **Live** version, and any further changes will take effect immediately in production. ## Step 8: Deploy Shopping Agent Before deployment, confirm that your Shopping Agent is fully configured. Only Active agents can be connected to a channel. Deployment includes two main stages: 1. [Launch the Shopping Agent in InOne](/v1/docs/create-and-configure-the-shopping-agent#step-81-launch-the-shopping-agent). 2. [Connect the Shopping Agent to a channel](/v1/docs/create-and-configure-the-shopping-agent#step-82-connect-the-shopping-agent-to-a-channel). This setup allows your Shopping Agent to start handling real conversations. ### Step 8.1: Launch the Shopping Agent Once you’ve completed all configuration and testing steps for your Shopping Agent, visit the **Launch** page. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-I611DJL1.png) Before clicking the **Launch** button, you can: - **Compare versions**: Review the current draft version and the active live version to identify any differences before going live. - **Check completeness**: Confirm that all required and recommended fields are filled in. Any missing items will be highlighted automatically. - **Review readiness**: Make sure both functional changes and structure are finalized for deployment. When you click the **Launch** button, all changes will go **live** instantly. This means the Shopping Agent will be updated on every channel it is connected to. > [!WARNING] > Active conversations will continue without interruption. > > Any new conversations that start after the launch will use the updated configuration. ### Step 8.2: Connect the Shopping Agent to a Channel Your Shopping Agent talks to customers through a channel. You create and manage channels under **InOne** > **Agent One** > **Agent One Audiences** > **Channels**. 1. Navigate to **InOne** > **Agent One** > **Agent One Audiences** > **Channels** and create a channel, or open an existing one. 2. On the channel's **Launch** step, select your Shopping Agent from the **AI Agent** list. Agents in Draft status can't be selected. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-U4GGTICI.png) 3. Launch the channel. > [!NOTE] > For step-by-step instructions, see [Set Up a Web Messenger channel](/v1/docs/set-up-a-web-messenger-channel) and [Set Up a WhatsApp channel](/v1/docs/set-up-a-whatsapp-channel). ## Related - [Set Up a Web Messenger Channel](/set-up-a-web-messenger-channel.md) - [Set Up a WhatsApp Channel](/set-up-a-whatsapp-channel.md)