# Chat With Chatbot Source: https://docs.droxy.ai/api-reference/chatbot/chat-with-chatbot /api-reference/v1.json post /v1/chatbot/chat Ask anything to your chatbot. # Chat With Chatbot With Streaming Source: https://docs.droxy.ai/api-reference/chatbot/chat-with-chatbot-with-streaming /api-reference/v1.json post /v1/chatbot/chat-stream Ask anything to your chatbot with response streaming. # Create Chatbot Source: https://docs.droxy.ai/api-reference/chatbot/create-chatbot /api-reference/v1.json post /v1/chatbot Create a chatbot. # Delete Chatbot By Id Source: https://docs.droxy.ai/api-reference/chatbot/delete-chatbot-by-id /api-reference/v1.json delete /v1/chatbot/{id} Delete your chatbot by it's id. # Get All Chatbots Source: https://docs.droxy.ai/api-reference/chatbot/get-all-chatbots /api-reference/v1.json get /v1/chatbot/all Get all your chatbots. # Get Chatbot By Id Source: https://docs.droxy.ai/api-reference/chatbot/get-chatbot-by-id /api-reference/v1.json get /v1/chatbot/{id} Get your chatbot by it's id. # Update Chatbot Avatar Source: https://docs.droxy.ai/api-reference/chatbot/update-chatbot-avatar /api-reference/v1.json put /v1/chatbot/avatar/{id} Update a chatbot's avatar. # Update Chatbot By Id Source: https://docs.droxy.ai/api-reference/chatbot/update-chatbot-by-id /api-reference/v1.json put /v1/chatbot/{id} Update a chatbot by it's id. # Get Chatbot Conversations Source: https://docs.droxy.ai/api-reference/conversation/get-chatbot-conversations /api-reference/v1.json get /v1/conversation/{id} Get the chatbot conversations. # Save Chatbot Conversation Source: https://docs.droxy.ai/api-reference/conversation/save-chatbot-conversation /api-reference/v1.json post /v1/conversation Save a chatbot conversation. # Stream Responses Source: https://docs.droxy.ai/api-reference/guides/streaming This guide will show you how to stream responses from the API [Chat With Chatbot With Streaming](/api-reference/chatbot/chat-with-chatbot-with-streaming) endpoint returns a data stream consisting of events, which can include both partial responses to the user's input and/or other event messages from the server. The streamed data contains different types of events. Each event carries its own specific type identifier. The client must inspect each event to determine its type and process it accordingly. To handle streaming responses, you can use the following code snippets: ```python theme={null} import requests import json response = requests.post( 'https://api.droxy.ai/v1/chatbot/chat-stream', headers={ 'accept': 'application/json', 'content-type': 'application/json', 'x-api-key': '' }, data=json.dumps({ 'chatbotId': '', 'conversation': [{'fromUser': True, 'text': 'Hello!'}] }), stream=True ) # Raise an error if the response status isn't successful. if response.status_code != 201: error = response.json() raise Exception(error.get('message', 'Request failed')) else: try: # Process each chunk event in the response stream. Due to buffering, more than one chunk may be available at a time. for chunk in response.iter_lines(): if chunk: # Decode the line decoded_event = chunk.decode('utf-8') # Load the line as JSON and process the message event = json.loads(decoded_event) # Get the event type event_type = event.get("type") # Handle the partial response here. if event_type == 'partialResponse': print('Partial response:', event) # Handle the end of the stream here. elif event_type == 'streamEnd': print('Stream ended:', event) break # Handle any errors while streaming here. elif event_type == 'error': raise Exception(f"Error from stream: {event.get('message')}") except Exception as e: print(f'Error processing stream: {e}') ``` ```javascript theme={null} const response = await fetch('https://api.droxy.ai/v1/chatbot/chat-stream', { method: 'POST', headers: { accept: 'application/json', 'content-type': 'application/json', 'x-api-key': '' }, body: JSON.stringify({ chatbotId: '', conversation: [{fromUser: true, text: 'Hello!'}] }) }); // Throw an error if the response status isn't successful. if (!response.ok) { const error = await response.json(); throw Error(error.message); } // Ensure there is a response body to read from. if (!response.body) { throw Error('No response body'); } const reader = response.body.getReader(); const decoder = new TextDecoder(); try { while (true) { const { value, done } = await reader.read(); if (done) break; // Stop reading if the stream is finished. // Decode the stream's chunks to an array of strings. Due to buffering, more than one chunk may be available at a time. const chunkValues = decoder.decode(value, { stream: true }).split('\n').filter(Boolean); for(const chunkValue of chunkValues){ // Parse the event chunk into JSON. const json = JSON.parse(chunkValue); // Process the event based on its type. switch (json.type) { case 'partialResponse': // Handle the partial response here. console.log('Partial response:', json); break; case 'streamEnd': // Handle the end of the stream here. console.log('Stream ended:', json); break; case 'error': // Handle any errors while streaming here. throw new Error(json.message); } } } } catch (error) { console.error(`Stream reading failed: ${error}`); } ``` # Introduction Source: https://docs.droxy.ai/api-reference/introduction Explore Droxy API with our guides and API reference Droxy API is accessible for users with an Advanced tier subscription or higher. For detailed pricing information and to find the tier that's right for you, please visit our [pricing page](https://www.droxy.ai/pricing). ## Create an API key In order to authenticate your requests, you will need to create an API key first. You can do so by following the steps below: 1. Navigate to the [Dashboard](https://app.droxy.ai) and click on the `API` tab. 2. Click on the `+ Add` button to create a new API key. Create API key 3. A new key will be generated for you. Make sure to **copy it as it won't be fully visible once you close the modal**. # Get Chatbot Leads Source: https://docs.droxy.ai/api-reference/lead/get-chatbot-leads /api-reference/v1.json get /v1/lead/{id} Get the leads generated from the chatbot. # Chat With Resource Source: https://docs.droxy.ai/api-reference/resource/chat-with-resource /api-reference/v1.json post /v1/resource/chat Ask anything to your resource. # Chat With Resource With Streaming Source: https://docs.droxy.ai/api-reference/resource/chat-with-resource-with-streaming /api-reference/v1.json post /v1/resource/chat-stream Ask anything to your resource with response streaming. # Create File Resource Source: https://docs.droxy.ai/api-reference/resource/create-file-resource /api-reference/v1.json post /v1/resource/file Create a file resource by upload a PDF or MP4 file. # Create Raw Text Resource Source: https://docs.droxy.ai/api-reference/resource/create-raw-text-resource /api-reference/v1.json post /v1/resource/text Create a resource with raw text. # Create Website Resource Source: https://docs.droxy.ai/api-reference/resource/create-website-resource /api-reference/v1.json post /v1/resource/website Create a Website resource. # Create YouTube Resource Source: https://docs.droxy.ai/api-reference/resource/create-youtube-resource /api-reference/v1.json post /v1/resource/youtube Create a YouTube resource. # Delete Resource By Id Source: https://docs.droxy.ai/api-reference/resource/delete-resource-by-id /api-reference/v1.json delete /v1/resource/{id} Delete your resource by it's id. # Get All Resources Source: https://docs.droxy.ai/api-reference/resource/get-all-resources /api-reference/v1.json get /v1/resource/all Get all your resources. # Get Resource By Id Source: https://docs.droxy.ai/api-reference/resource/get-resource-by-id /api-reference/v1.json get /v1/resource/{id} Get your resource by it's id. # Product Updates Source: https://docs.droxy.ai/changelog/product-updates Latest features and improvements to Droxy # Phone Agents + Appointments We're excited to announce our integration with **Cal.com**, enabling AI-powered realtime appointment scheduling through your phone agents. Cal.com Integration ### Key Features * Connect your Cal.com account to automate appointment scheduling through phone agents * Real-time calendar availability checking * Automatic timezone handling and conflict prevention * Direct integration with popular calendar services (Google, Apple, Outlook) * Automated confirmation emails to attendees Phone Appointment Scheduling Tool ### How can you use this in your business? If you spend a lot of time scheduling appointments and figuring out availabilities for your business, you can now hand that off to your Phone Agent that has access to your calendar. The agent can determine availabilities in real-time, book appointments, and send confirmation emails automatically. It's a win-win for your business and customers - they don't have to wait in line and can book appointments outside of business hours, while you can spend more time serving your customers. ### How can I get started? Enable appointment scheduling for your phone agents by following our step-by-step guides: * [Set up Cal.com integration](/documentation/integrations/caldotcom) * [Enable appointment scheduling for your phone agents](/documentation/agents/phone/appointments) # Basic Agent Source: https://docs.droxy.ai/documentation/agents/basic Learn how to create a basic agent that you can personaly use and share with others via a link. Basic Agent ## What is a Basic Agent? It is an LLM-based agent that you can use for Q/A and/or share with others via a link. The agent: * Learns from your knowledge sources including website content, PDFs, Google Drive documents, YouTube videos, and other documents * Provides real-time responses to queries based on your specific information * Answers following your configured behavior and tone ## Setting Up Your Basic Agent In the Droxy dashboard, go to the **Agents** section and click on **+Add**. Then select **Basic Agent**. Basic Agent ### 1. Knowledge Configuration Before your agent can answer questions, you'll need to ground it with knowledge. This will help it understand your specific information and answer questions more accurately. Knowledge Configuration 1. Upload relevant documents (PDFs, text files, Google Drive documents, etc.) 2. Add website URLs for the agent to learn from 3. Link YouTube videos that contain relevant informations or tutorials 4. Import custom knowledge bases or FAQs ### 2. Agent Configuration Configure your agent's behavior and capabilities: Agent Configuration Key configuration options include: * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emoji Support**: Enable or disable emoji in the agent's responses. ### 3. Customization Personalize your agent's appearance to your liking: Customization Options * **Agent Name**: Give your agent a name that reflects its role and purpose * **Welcome Message**: Set an optional greeting message that appears in a chat bubble when visitors first use the agent * **Theme Selection**: Choose from pre-built color themes or create your own custom theme * **Appearance**: Fully customize the look and feel of your agent including colors, backgrounds, and styling to match your brand identity All colors can be specified using hex codes for precise color matching. The live preview window shows how your customization choices will appear. ## Share Your Agent Now that your agent is created and configured, you can share it with others via a link. To share your agent: Share Menu 1. Click the `...` menu on your agent's card 2. Select **Copy share link** 3. Send the link to others to allow them to use your agent. ## View Conversation History To view the conversation history of your agent: 1. Click the `...` menu on your agent's card 2. Select **Conversations** Conversation Click This will redirect you to the **Conversations** page where you can view all the conversations that have been had with your agent. Conversation Page # Facebook Agent Source: https://docs.droxy.ai/documentation/agents/commenting/facebook Learn how to create an agent that you can connect to your Facebook page to reply to your customers comments. Facebook Agent # Instagram Agent Source: https://docs.droxy.ai/documentation/agents/commenting/instagram Learn how to create an agent that you can connect to your Instagram profile to reply to your customers comments. Instagram Agent # Discord Agent Source: https://docs.droxy.ai/documentation/agents/messaging/discord Learn how to create an agent that you can connect to your Discord server to respond to your community. Discord Agent ## What is a Discord Messaging Agent? It is an LLM-based agent that you can connect to your Discord server to provide instant support and answers to your community. The agent: * Learns from your company's knowledge sources including website content, PDFs, YouTube videos, and other documents * Provides real-time responses to community queries based on your specific business information * Integrates seamlessly with your Discord server * Answers in your brand's voice in a natural and conversational manner through Discord chats * Handles multiple community conversations simultaneously * Available 24/7 to respond to community inquiries via Discord ## Setting up your Discord Messaging Agent In the Droxy dashboard, go to the **Agents** section and click on **+ Add**. Then select **Discord Agent** in the **Messaging** category. Select Discord Agent ### 1. Basics Configure the basics for your Discord agent: Basics * **Name and Avatar**: Give your agent a name and upload an avatar image that will be displayed in your dashboard * **Server Invitation Link**: Enter the invitation link for your Discord server and authorize Droxy to join the server * **Invocation Command**: Enter the command that will be used to invoke your agent in Discord ### 2. Configuration Configure your agent's behavior to suit your business needs: Configuration * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with your community. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emojis**: Choose whether to enable emojis in the agent's responses ### 3. Knowledge Base Ground your agent with relevant business information to help it answer community questions accurately: Knowledge * Upload relevant community documents (PDFs, text files, Google Docs, etc.) * Add website URLs for the agent to learn from * Link YouTube videos that contain product information or tutorials * Import custom knowledge bases or FAQs # Facebook Agent Source: https://docs.droxy.ai/documentation/agents/messaging/facebook Learn how to create an agent that you can connect to your Facebook page to respond to your customers. Facebook Agent ## What is a Facebook Messaging Agent? It is an LLM-based agent that you can connect to your Facebook page to provide instant support and answers to your customers. The agent: * Learns from your company's knowledge sources including website content, PDFs, YouTube videos, and other documents * Provides real-time responses to customer queries based on your specific business information * Integrates seamlessly with your Facebook Page * Answers in your brand's voice in a natural and conversational manner through Facebook Messenger chats * Handles multiple customer conversations simultaneously * Available 24/7 to respond to customer inquiries via Facebook Messenger ## Connect a Facebook Page In the Droxy dashboard, go to the **Integrations** section and click on the **Facebook** card. Select Facebook ### 1. Start the connection process Click on the **Synchronize** button to connect a Facebook Page. Synchronize Facebook Page ### 2. Choose a Business Portfolio Login into your Facebook account and choose a Business Portfolio. Select Business Portfolio ### 3. Choose a Facebook Page Select the Facebook Page you want to connect. Make sure to not unselect previously selected pages. Select Facebook Page ### 4. Confirm the connection Click on **Save** to accept sharing your Facebook Page with Droxy. Confirm Connection Click on **Got it** to complete the connection process. Got it ## Setting up your Facebook Messaging Agent In the Droxy dashboard, go to the **Agents** section and click on **+ Add**. Then select **Facebook Agent** in the **Messaging** category. Select Facebook Agent ### 1. Basics Configure the basics for your Facebook agent: Basics * **Name and Avatar**: Give your agent a name and upload an avatar image that will be displayed in your dashboard * **Connected Account**: Choose a Facebook Page to connect to your agent ### 2. Configuration Configure your agent's behavior to suit your business needs: Configuration * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with visitors. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emojis**: Choose whether to enable emojis in the agent's responses ### 3. Knowledge Base Ground your agent with relevant business information to help it answer customer questions accurately: Knowledge * Upload relevant company documents (PDFs, text files, Google Docs, etc.) * Add website URLs for the agent to learn from * Link YouTube videos that contain product information or tutorials * Import custom knowledge bases or FAQs ### 4. Tools You can enable the following tools to enhance messaging agent functionality: Available Tools * **Takeover Request**: Enables the agent to automatically request a conversation to be taken over by a human agent when appropriate or when the user requests to speak to a human. You will receive a notification about the takeover request. Each tool can be toggled on/off using the switches, allowing you to customize the feature set based on your needs. ## Pausing your Facebook Agent You can pause your Facebook agent at any time to take over and respond to messages manually. This will stop the agent from responding to new messages. To pause your agent: Pause Facebook Agent 1. Click the `...` menu on your agent's card 2. Select **Pause** You can also resume your agent by clicking the `...` menu on your agent's card and selecting **Resume**. # Instagram Agent Source: https://docs.droxy.ai/documentation/agents/messaging/instagram Learn how to create an agent that you can connect to your Instagram profile to respond to your customers. Instagram Agent ## What is an Instagram Messaging Agent? It is an LLM-based agent that you can connect to your Instagram profile to provide instant support and answers to your customers. The agent: * Learns from your company's knowledge sources including website content, PDFs, YouTube videos, and other documents * Provides real-time responses to customer queries based on your specific business information * Integrates seamlessly with your Instagram account * Answers in your brand's voice in a natural and conversational manner through Instagram chats * Handles multiple customer conversations simultaneously * Available 24/7 to respond to customer inquiries via Instagram chats ## Connect an Instagram Account In the Droxy dashboard, go to the **Integrations** section and click on the **Instagram** card. Select Instagram ### 1. Start the connection process Click on the **Connect** button to connect an Instagram account. Only Instagram business accounts are can be connected. If you have a regular Instagram account, you will be asked to switch to a business account during the connection process. Connect Instagram Account ### 2. Login with your Instagram account Login with your Instagram account. Login with Instagram ### 3. Confirm the connection Click on **Allow** to accept sharing your Instagram account with Droxy. Confirm Connection ## Setting up your Instagram Messaging Agent In the Droxy dashboard, go to the **Agents** section and click on **+ Add**. Then select **Instagram Agent** in the **Messaging** category. Select Instagram Agent ### 1. Basics Configure the basics for your Instagram agent: Basics * **Name and Avatar**: Give your agent a name and upload an avatar image that will be displayed in your dashboard * **Connected Account**: Choose an Instagram account to connect to your agent ### 2. Configuration Configure your agent's behavior to suit your business needs: Configuration * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with visitors. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emojis**: Choose whether to enable emojis in the agent's responses ### 3. Knowledge Base Ground your agent with relevant business information to help it answer customer questions accurately: Knowledge * Upload relevant company documents (PDFs, text files, Google Docs, etc.) * Add website URLs for the agent to learn from * Link YouTube videos that contain product information or tutorials * Import custom knowledge bases or FAQs ### 4. Tools You can enable the following tools to enhance messaging agent functionality: Available Tools * **Takeover Request**: Enables the agent to automatically request a conversation to be taken over by a human agent when appropriate or when the user requests to speak to a human. You will receive a notification about the takeover request. Each tool can be toggled on/off using the switches, allowing you to customize the feature set based on your needs. ## Pausing your Instagram Agent You can pause your Instagram agent at any time to take over and respond to messages manually. This will stop the agent from responding to new messages. To pause your agent: Pause Instagram Agent 1. Click the `...` menu on your agent's card 2. Select **Pause** You can also resume your agent by clicking the `...` menu on your agent's card and selecting **Resume**. # WhatsApp Agent Source: https://docs.droxy.ai/documentation/agents/messaging/whatsapp Learn how to create an agent that you can connect to your WhatsApp number to respond to your customers. WhatsApp Agent ## What is a WhatsApp Messaging Agent? It is an LLM-based agent that you can connect to your WhatsApp business account to provide instant support and answers to your customers. The agent: * Learns from your company's knowledge sources including website content, PDFs, YouTube videos, and other documents * Provides real-time responses to customer queries based on your specific business information * Integrates seamlessly with your WhatsApp Business Account * Answers in your brand's voice in a natural and conversational manner through WhatsApp chats * Handles multiple customer conversations simultaneously * Available 24/7 to respond to customer inquiries via WhatsApp ## Connect A WhatsApp Business Account In the Droxy dashboard, go to the **Integrations** section and click on the **WhatsApp** card. WhatsApp Agent ### 1. Start the connection process Click on the **Connect** button to connect a WhatsApp Business Account. Connect WhatsApp Account The WhatsApp phone number integrated with the agent can only be used by the agent. It cannot be used on WhatsApp or WhatsApp Business. If you are already using this phone number with WhatsApp, you must delete your account first to free up the number. Steps to delete WhatsApp account: 1. Open the WhatsApp or WhatsApp Business app. 2. Navigate to Settings > Account > Delete my account. 3. Confirm the deletion by entering the phone number. 4. Select 'Delete my account'. After a few minutes, your number will be available again. ### 2. Login with your Facebook account Login with Facebook Click on **Get Started** to continue. Start ### 3. Choose or create a business profile Portfolio ### 4. Choose or create a WhatsApp Business Account WhatsApp Account ### 5. WhatsApp Business Profile (Optional) If you chose to create a new business account, fill in the required information for your WhatsApp Business Profile. Please make sure to follow Meta's [display name guidelines](https://www.facebook.com/business/help/757569725593362) as this could affect your account's eligibility to send messages. Business Profile ### 6. WhatsApp Business Phone Number (Optional) If you do not have a phone number in your WhatsApp Business Account, add a phone number and verify it. Phone Number ### 7. Confirm the connection Click on **Continue** to allow Droxy to access your WhatsApp Business Account. Continue Click on **Finish** to complete the connection process. Finish ## Setting up your WhatsApp Messaging Agent In the Droxy dashboard, go to the **Agents** section and click on **+ Add**. Then select **WhatsApp Agent** in the **Messaging** category. Select WhatsApp Agent ### 1. Basics Configure the basics for your WhatsApp agent: Basics * **Name and Avatar**: Give your agent a name and upload an avatar image that will be displayed in your dashboard * **Connected Account**: Choose a WhatsApp Business Account to connect to your agent * **Phone Number**: Choose a WhatsApp phone number to connect to your agent ### 2. Configuration Configure your agent's behavior to suit your business needs: Configuration * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with visitors. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emojis**: Choose whether to enable emojis in the agent's responses ### 3. Knowledge Base Ground your agent with relevant business information to help it answer customer questions accurately: Knowledge * Upload relevant company documents (PDFs, text files, Google Docs, etc.) * Add website URLs for the agent to learn from * Link YouTube videos that contain product information or tutorials * Import custom knowledge bases or FAQs ### 4. Tools You can enable the following tools to enhance messaging agent functionality: Available Tools * **Takeover Request**: Enables the agent to automatically request a conversation to be taken over by a human agent when appropriate or when the user requests to speak to a human. You will receive a notification about the takeover request. Each tool can be toggled on/off using the switches, allowing you to customize the feature set based on your needs. # Appointment Scheduling Source: https://docs.droxy.ai/documentation/agents/phone/appointments Learn how to use the Appointment Scheduling tool with your Phone Agent. ## Tool Overview The Appointment Scheduling tool enables your Phone Agent to automatically book appointments with callers in a natural, conversational way. The agent: * Checks real-time availability in your connected calendar * Handles time zone conversions automatically * Collects necessary customer information * Sends confirmation emails with appointment details * Books directly into your calendar system (Google Calendar, Apple Calendar, etc.) via Cal.com When a caller requests an appointment, your agent engages in a natural conversation to find a suitable time slot, collects their information, and handles the booking process end-to-end. ## Use Cases The Appointment Scheduling tool can transform how various businesses handle bookings: * **Medical Practices**: Enable patients to book appointments 24/7, reducing missed calls and improving accessibility * **Real Estate**: Automate property viewing scheduling, letting potential buyers book at their convenience * **Legal Services**: Conduct pre-qualifying conversations and schedule consultations seamlessly * **Service Businesses**: From salon appointments to consultations, automate booking for any service type This creates a win-win situation: customers gain 24/7 booking capability while businesses capture more opportunities and reduce administrative overhead. ## Prerequisites Before setting up appointment scheduling, you'll need: ### 1. Cal.com Account Setup Create and connect your Cal.com account to Droxy (see our [Cal.com Integration Guide](/documentation/integrations/caldotcom)). ### 2. Create Event Type In your Cal.com account, create an **Event Type** for your appointments: Create New Event Type 1. Navigate to the **Event Types** tab 2. Click **+ New** to create a new event type 3. Configure the basic settings: * Set a clear, descriptive title (the agent will use this in conversations) * Specify the appointment duration * Click **Continue** Event Type Configuration ### 3. Configure Availability Settings Set up your availability to ensure accurate booking: Availability Settings * Set your business hours and availability windows * Configure the correct time zone for your **Default** availability (this will be used for all appointments associated with this Cal.com account) ### 4. Set Meeting Location Configure where appointments will take place: Location Settings Choose from several location types: * **In Person (Organizer Address)**: For appointments at your business location * **Phone Call**: For telephone consultations * **Video Conference**: For virtual meetings via Zoom, Google Meet, etc. The selected location will be included in the appointment confirmation emails sent to customers. ## Setting Up the Tool Now that you have your Cal.com account properly configured with event types and availability settings, you can add appointment scheduling to your Phone Agent: ### 1. In the Tools section, click **+ Add tool** Tools ### 2. Select **Appointment Scheduling (Cal.com)** Select Tool ### 3. Configure Tool Settings Tool Configuration The time zone shown is based on your Cal.com account's default availability settings. When callers request appointments (e.g. "3 PM"), the agent will check availability in this time zone. For example, if your default availability is set to Pacific Time, when a caller asks for "3 PM", the agent will check availability for 3 PM Pacific Time. * **Cal.com Account**: Select your connected account * **Time Zone**: Verify the displayed time zone * **Event Type**: Choose the event type created in prerequisites ## Testing Your Setup After configuration, test the appointment scheduling: 1. Click **Talk with Agent** or call the phone number associated with your agent 2. Say to the agent that you would like to book an appointment 3. Observe how the agent: * Checks available slots * Suggests times based on your availability * Collects and confirms contact information * Books the appointment and triggers confirmation emails Successful bookings will appear in: * Your Cal.com dashboard * Connected calendar systems * Customer's email inbox with confirmation details ## Best Practices To ensure optimal appointment scheduling: * Use clear, specific event type names * Keep your availability calendar up-to-date * Test the booking flow regularly * Monitor appointment confirmations # Overview Source: https://docs.droxy.ai/documentation/agents/phone/overview Learn how to create an agent that you can connect to your phone number. Phone Agent ## What is a Phone Agent? It is a real-time voice AI agent that you can connect to your business phone number to handle customer calls automatically. The agent: * Uses OpenAI's voice-to-voice LLM to conduct natural conversations * Answers calls on your behalf when you're unavailable or during peak times * Communicates in multiple languages with human-like voice quality * Adapts its tone and personality based on your configured preferences * Learns from your business knowledge to provide accurate responses ## Testing Your Agent During Setup Before creating your agent, note that you can use the **Talk with agent** button at any time to test your configuration. This allows you to verify how your agent behaves with different settings - for example, after modifying the prompt or adding knowledge, you can immediately test the changes without creating the agent. Talk with Agent ## Setting Up Your Phone Agent In the Droxy dashboard, go to the **Agents** section and click on **+Add**. Then select **Phone**. Website Agent ### 1. Basics Configure the fundamental settings for your phone agent: Basics * **Name and Avatar**: Give your agent a name and upload an avatar image that will be displayed in your dashboard * **First Message**: Set up the first message the agent will say when answering calls. This is useful if you want to greet the caller with a custom message * **Voice**: Choose from our selection of natural-sounding voices ### 2. Configuration Configure your agent's behavior to suit your business needs: Configuration * **Behavior**: Use our prompt generator for optimized phone agent prompts, or manually craft your custom prompt * **Model**: Select the real-time voice model that will power your agent * **Restrictions**: Choose whether to restrict responses to knowledge content. If enabled, you have to specify a fallback message that will be used when information isn't found in its knowledge base ### 3. Tools In order give your phone agent the ability to perform actions, you can add tools. Tools For example, you can: * Add the **Appointment Scheduling** tool to let your agent schedule appointments into your calendar. Learn more [here](/documentation/agents/phone/appointments). * Enable the **Call Transfer** tool to intelligently route calls based on context. You can configure multiple transfer rules like: * Transfer to sales team (+1-555-0123) for **pricing and product inquiries** * Transfer to support (+1-555-0456) for **technical issues** The agent will automatically evaluate the conversation and transfer to the appropriate department. If needed it will ask the caller clarifying questions to ensure the call is transferred to the right person. ### 4. Connect your Phone Number Connect your agent to a phone line to allow your customers to easily reach you. Attach Phone Number There are two options to connect your phone number: **Get New Number:** * Paid accounts receive one free phone number (US/Canada only) * Browse available numbers by region/state * Select from our list of free numbers and add it to your account **Import Existing Twilio Number:** * Enter your Twilio phone number (any country) * Provide your Account SID * Add your Auth Token For phone numbers outside US/Canada, you'll need to import them via Twilio due to additional jurisdiction verification requirements. Don't worry - it's a straightforward process! Check our [Phone Number Integration Guide](/documentation/integrations/phone-numbers) for detailed instructions. ### 5. Knowledge Base Ground your agent with relevant business information to help it answer customer questions accurately: Knowledge * Upload relevant company documents (PDFs, text files, Google Docs, etc.) * Add website URLs for the agent to learn from * Link YouTube videos that contain product information or tutorials * Import custom knowledge bases or FAQs ## Monitor and Analyze Calls Monitor and analyze your agent's phone conversations from the **Voice Call Recordings** tab. Filter calls by date range to find the ones you need. Call Transcript ### Call Recordings and Transcript * Listen to call recordings by clicking on **Play Recording** with playback speed controls * View detailed transcripts with timestamps for each speaker * Search through the transcript to find specific moments in the call * Export call data for your records by clicking on **Export** ### Automated Call Analysis After each call, we perform automated analysis to provide you with insights on the call: Call Summary * **Call Summary**: A concise overview of the entire conversation * **Key Points**: Important details and decisions made during the call * **Next Steps**: Action items identified from the conversation * **Call Analysis**: * Sentiment analysis (Very Positive, Positive, Neutral, etc.) * Call intent (Appointment, Support, Inquiry, etc.) # Shopify Agent Source: https://docs.droxy.ai/documentation/agents/shopify Learn how to create an agent that you can connect to your Shopify store. Shopify Agent ## What is a Shopify Agent? It is an LLM-based agent that has access to your Shopify store's products and website content. The agent can answer complex questions about your products, make context-aware personalized recommendations to your visitors, and more. You can embed the agent on your Shopify store's website in one simple click of a button. ## Setting Up Your Shopify Agent If you do not have your Shopify store connected to Droxy yet, you can do so by following the instructions below. ### 1. Connect Your Shopify Store To begin integrating your Shopify store with Droxy: 1. Navigate to **Settings** and select the **Stores** tab 2. Click on **Add** and select **Shopify** from the available options Add Shopify Store You will be redirected to your Shopify Store account to install the Droxy Shopify app. Follow the instructions in Shopify to complete the installation. Once you connect your Shopify account, your billing will be processed through Shopify instead of Droxy. You'll maintain access to all your existing features and can upgrade, downgrade or cancel your subscription at any time through Shopify. After installation, you'll be redirected back to the Droxy dashboard for store configuration. You should see the following under the **Stores** tab in **Settings**. Click on the **Configure** button to continue. Store Configuration ### 2. Configure Your Store The configuration process involves two main steps with the goal of syncing your Shopify store's products and website content into Droxy's knowledge base. #### Products Import Configure Products You'll see a list of all products that will be imported into Droxy. These products will serve as knowledge base for your agent. Each subscription plan has different product import limits. If your store exceeds the current plan's limit, you may need to upgrade to accommodate your full product catalog. Otherwise, a portion of your products will not be imported. #### Website Content Configure Website Review and confirm the URLs that will be imported as part of your store's knowledge base. This ensures your agent has comprehensive information about your website content. Once you've reviewed the imported products and website content, click on the **Sync** button to complete the configuration. The process may take a few minutes to complete depending on the size of your product catalog. Once the process is complete, you should see the following under the **Stores** tab in **Settings**. Store Configuration ### 3. Select Shopify Agent In the Droxy dashboard, go to the **Agents** section and click on **+Add**. Then select **Shopify Agent**. Shopify Agent ### 4. Select Connected Store After syncing your store, you'll need to select which store to use for your agent. In the agent creation interface, you'll see your connected Shopify store listed: Store Selection Select your store by clicking on it. The checkmark will indicate your selection. ### 5. Add Additional Knowledge Beyond your store's product and website content, you can add extra knowledge to enhance your agent's capabilities: Additional Knowledge Use the search bar to find specific knowledge items. Click **Add new** to upload additional resources such as: * Company policies * Return procedures * Shipping information * FAQs * Other relevant documentation ### 6. Configuration Configure your agent's behavior and capabilities: Agent Configuration Key configuration options include: * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with customers. Use the built-in prompt generator to have optimized prompts automatically generated or modify them to match your needs. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emoji Support**: Enable or disable emoji usage in conversations ### 7. Customization Personalize your chat widget's appearance to match your brand: Customization Options * **Agent Name**: Give your agent a name that reflects its role and your brand * **Welcome Message**: Set an optional greeting message (up to 180 characters) that appears when customers start a conversation * **Theme Selection**: Choose from pre-built color themes or create your own custom theme * **Appearance**: Fully customize the look and feel of your chat widget including: * Agent's message color * User's message color * Accent color * Conversation background * Side bar background All colors can be specified using hex codes for precise brand matching. The live preview window shows how your customization choices will appear to your customers. ### 8. Tools You can enable the following tools to enhance your chat widget's functionality: Available Tools * **Lead Form**: Collect visitor contact information (email, phone, name) to capture and store leads for follow-up, seamlessly integrated into natural conversations. * **Calendly**: Allow visitors to book meetings directly through the chat interface with automated scheduling. Perfect for sales teams, consultations, and support calls. * **Email Handoff**: Transfer chat conversations to email when needed, especially useful for complex inquiries requiring detailed follow-up or when immediate chat resolution isn't possible. Each tool can be toggled on/off using the switches, allowing you to customize the feature set based on your business needs. ## Embed the Agent on Your Shopify Store Once you've configured and tested your agent, embedding it on your Shopify store is a simple one-click process: 1. Click the **Embed on store** button in the top-right corner of your agent's manage page 2. Wait a few minutes for the installation to complete Embed on Store That's it! Your agent will automatically appear on your Shopify store, ready to assist your visitors. There's no need for manual code installation or theme modifications - everything is handled seamlessly through the Shopify app integration. The chat widget typically appears within 1-2 minutes of clicking the embed button. Once active, all your store visitors will be able to interact with your agent. # Website Agent Source: https://docs.droxy.ai/documentation/agents/website Learn how to create an agent that you can embed on your website. Website Agent ## What is a Website Agent? It is an LLM-based agent that you can embed directly into your website to provide instant support and answers to your visitors. The agent: * Learns from your company's knowledge sources including website content, PDFs, YouTube videos, and other documents * Provides real-time responses to customer queries based on your specific business information * Integrates seamlessly with your website through a simple embed script * Answers in your brand's voice in a natural and conversational manner ## Setting Up Your Website Agent In the Droxy dashboard, go to the **Agents** section and click on **+Add**. Then select **Website Agent**. Website Agent ### 1. Knowledge Configuration Before your agent can assist visitors, you'll need to ground it with knowledge. This will help it understand your business and answer questions more accurately. Knowledge Configuration 1. Upload relevant company documents (PDFs, text files, Google Docs, etc.) 2. Add website URLs for the agent to learn from 3. Link YouTube videos that contain product information or tutorials 4. Import custom knowledge bases or FAQs ### 2. Agent Configuration Configure your agent's behavior and capabilities: Agent Configuration Key configuration options include: * **Behavior**: Define the agent's role, personality, and communication style. Be specific about how the agent should interact with visitors. Use the built-in prompt generator to create and refine your agent's instructions. * **Model**: Select the LLM powering your agent (e.g., GPT-4o mini, Claude Sonnet 4.6, Gemini 3 Flash). Each model consumes different amounts of tokens and has different capabilities. * **Knowledge Restrictions**: Choose whether to restrict the agent's responses to only your provided knowledge content. Make sure to specify to the agent what to answer if the knowledge base doesn't contain an answer. * **Emoji Support**: Enable or disable emoji support in the chat widget. ### 3. Customization Personalize your chat widget's appearance to match your brand: Customization Options * **Agent Name**: Give your agent a name that reflects its role and your brand * **Welcome Message**: Set an optional greeting message that appears in a chat bubble when visitors first land on your website * **Theme Selection**: Choose from pre-built color themes or create your own custom theme * **Appearance**: Fully customize the look and feel of your chat widget including colors, backgrounds, and styling to match your brand identity All colors can be specified using hex codes for precise brand matching. The live preview window shows how your customization choices will appear to your website visitors. ### 4. Website Bubble Settings Configure how and where your chat widget appears on your website: Website Integration * **Allowed Domains**: Specify which domains can display your chat widget * Enter domains in the format: `https://www.example.com` * Add multiple domains if you want the agent to be available on multiple websites * By default, the agent will be available on all domains * **Bubble Position**: Choose where the chat bubble appears on your website * Default position is "Bottom right" * Select the most appropriate location that won't interfere with your website's content * **Welcome Message Display**: Control whether to show the welcome message bubble * Toggle between "Yes" or "No" * Useful for minimizing initial distractions while keeping the chat widget accessible ### 5. Tools You can enable the following tools to enhance your chat widget's functionality: Available Tools * **Lead Form**: Collect visitor contact information (email, phone, name) to capture and store leads for follow-up, seamlessly integrated into natural conversations. * **Appointment Scheduling**: Allow visitors to book meetings directly through the chat interface with automated scheduling. Perfect for sales teams, consultations, and support calls. * **Email Handoff**: Transfer chat conversations to email when needed, especially useful for complex inquiries requiring detailed follow-up or when immediate chat resolution isn't possible. Each tool can be toggled on/off using the switches, allowing you to customize the feature set based on your needs. ## Embed Agent on Your Website Now that your agent is created and configured, you can embed it on your website. Before proceeding with the integration, we recommend testing your agent by clicking on the agent card in the dashboard to ensure it's working as expected. To add your agent to your website: Embed Menu 1. Click the `...` menu on your agent's card 2. Select **Embed on website** 3. Choose from two integration options: Embed Code Options ### Option 1: Chat Bubble Add a floating chat bubble that appears in the corner of your website. Simply add the provided script tag to your website's HTML before the closing `` tag. ### Option 2: Iframe Integration Embed the chat interface directly into your webpage using the provided iframe code. This is useful when you want to embed the chat interface in a specific location on your page. Both integration methods will respect your customization settings and domain restrictions. Make sure your website's domain is listed in the allowed domains before implementing the embed code. ## Advanced Customization You can customize your chat's appearance and sizing for both chat bubble and iframe integrations. This is particularly useful for accessibility needs or to better match your website's design. ### Chat Bubble Customization For chat bubble integration, add data attributes to the script tag: ```jsx theme={null} ``` **Available Data Attributes:** | Property | Description | Default | Example | | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ---------------- | | `data-base-font-size` | Base font size for all text in the chat widget. All typography scales relative to this value. | `16px` | `18px`, `20px` | | `data-icon-size` | Size of all icons (width and height) in the chat widget | `20px` | `24px`, `28px` | | `data-bubble-size` | Diameter of the chat bubble | `50px` | `60px`, `70px` | | `data-widget-width` | Width of the chat widget container (desktop only, mobile will open in fullscreen) | `400px` | `450px`, `500px` | | `data-widget-height` | Height of the chat widget container (desktop only, mobile will open in fullscreen) | `700px` | `750px`, `80vh` | | `data-allow-size-control` | Whether to allow the user to control the size of the chat widget. If true, the user will be able to maximize the chat widget to full screen. | `false` | `true` | ### Iframe Customization For iframe integration, add URL parameters to the iframe src: ```jsx theme={null} ``` **Available URL Parameters:** | Parameter | Description | Default | Example | | -------------- | --------------------------------------------------------------------------------------------- | ------- | -------------- | | `baseFontSize` | Base font size for all text in the chat widget. All typography scales relative to this value. | `16px` | `18px`, `20px` | | `iconSize` | Size of all icons (width and height) in the chat widget | `20px` | `24px`, `28px` | ### Common Use Cases #### Mobile Accessibility If users report that the text and icons are too small on mobile devices: **Chat Bubble:** ```jsx theme={null} ``` **Iframe:** ```jsx theme={null} ``` #### Larger Widget for Desktop For websites where you want a more prominent chat experience and want to allow the user to control the size of the chat widget: **Chat Bubble:** ```jsx theme={null} ``` ### Important Notes * All properties are optional. If not specified, default values will be used. * Font size changes affect all text in the widget proportionally (titles, body text, buttons, etc.) * Icon size changes affect all icons in the widget (close buttons, send button, tool icons, etc.) * Widget width and height only apply to desktop views. On mobile devices (screen width ≤ 500px), the widget automatically opens in fullscreen mode. # Community Videos Source: https://docs.droxy.ai/documentation/community-videos Videos showcasing Droxy out in the wild. ### Agents Quickstart Guide