https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I use the official and unofficial retell in...
# ❓・ai-evy-support
t
@AI Evy how do I use the official and unofficial retell integrations such as shopify? or twilio?
a
Thanks for tagging me @tin_developer. I'll look through relevant sources and get back to you shortly.
### Answer ## Twilio Integration To integrate Retell AI with Twilio, you need to set up an Elastic SIP Trunk [(1) ]() . Here's the process: *Step 1: Configure Termination (Outbound Calls) * Set Retell AI's SIP server address as the termination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For toll-free numbers, specify the transport protocol:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
. *Step 2: Configure Origination (Inbound Calls) * Set Retell AI's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For toll-free numbers, use:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
. Step 3: Assign Numbers to the SIP Trunk Purchase new numbers or migrate existing ones to the configured SIP trunk within your telephony provider's platform . Step 4: Import Numbers into Retell AI Access the Retell AI dashboard, navigate to the phone numbers section, and provide the Termination SIP URI and authentication credentials . You can also use Retell AI's API to import numbers programmatically . Step 5: Configure Voice Agents Create and customize AI voice agents in the Retell AI dashboard, then assign the imported phone numbers to the corresponding voice agents . Step 6: Test the Integration Place test calls for both inbound and outbound scenarios to verify proper functionality . ## Shopify Integration For Shopify integration, Retell AI has certified partners who specialize in connecting AI call agents to Shopify [(2) ]() . The integration typically involves building custom functions to read products, see orders, and access shipping addresses from Shopify [(3) ]() . One approach is to use workflow automation platforms like M
ake.com, which has a robust Shopify integration that can handle tool call handlers to perform necessary operations .
​ To learn more, see the sources I considered: [[1] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) [[2] Connect AI call agent to Shopify](https://www.retellai.com/integrations/shopify) [[3] error integrating retell with shopify, i couldn't find webhook url](https://discord.com/channels/1186424376300679209/1313558007522660486) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy i want to use a different knowledge base and chat bot using abacus.ai, can you please advise.
a
Thanks for the follow-up, @tin_developer. I'll get back to you soon.
### Answer I don't have specific information about integrating Abacus.ai with Retell AI in the available sources. However, I can share what Retell AI offers for knowledge bases. Retell AI has its own knowledge base functionality that you can manage through their API [(1) ]() . You can list all knowledge bases using their SDK :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const knowledgeBaseResponses = await client.knowledgeBase.list() ;
console.log(knowledgeBaseResponses) ;
Retell AI's knowledge base supports multiple sources including web scraping, file uploads (PDFs, spreadsheets) , and manual data entry [(2) ]() . The system maintains real-time updates and can automatically sync data from these sources . If you're looking to use Abacus.ai specifically, you might need to explore custom integration options or reach out to Retell AI's support team for guidance on connecting external knowledge base systems. Would you like more information about Retell AI's native knowledge base capabilities, or would you prefer a general answer about potential integration approaches?
​ To learn more, see the sources I considered: [[1] List Knowledge Bases](https://docs.retellai.com/api-references/list-knowledge-bases) [[2] Top 5 Best Dialogflow Alternatives | Retell AI](https://www.retellai.com/blog/dialogflow-alternatives) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy to be able to get/save detailed information from customer interaction, we think we should be using a different AI/ML structure. Can you advise if we can do this with custom functions or can we use the SDK to access this info.
a
Thanks for the follow-up, @tin_developer. I'll get back to you soon.
### Answer --- Yes, you can capture and save detailed customer interaction information using both custom functions and the SDK [(1) ]() [(2) ]() [(3) ]() . ## Using Custom Functions Custom functions allow you to integrate external APIs to save customer data to your CRM, database, or any system [(1) ]() [(2) ]() . When a custom function is called, Retell sends a POST request to your specified endpoint with the function name, parameters, and the complete call object . The request body includes : - `name`: the name of the custom function - `call`: the call object containing real-time transcript up to the time the request is sent - `args`: the arguments for the custom function as a JSON object You can extract values from the API response and save them as dynamic variables for use later in the conversation . For example, you can extract a user's name from the response and reference it later using
{{user_name}}
. Example response handling :
Copy code
json
{
  "properties": {
    "user": {
      "name": "John Doe",
      "age": 26
    }
  }
}
If your flow collects details like name/email as variables, you can pass them to a CRM or Google Sheets via the Retell SDK or a webhook [(4) ]() . ## Using the SDK The Retell SDK provides programmatic access to call data [(3) ]() . You can retrieve call information including transcripts using the Get Call API . Example using Node.js SDK :
Copy code
javascript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;

const phoneCallResponse = await client.call.createPhoneCall({
  from_number: '+14157774444',
  to_number: '+12137774445',
}) ;

console.log(phoneCallResponse.agent_id) ;
You can store custom data using the
metadata
parameter to track internal customer IDs, and use
retell_llm_dynamic_variables
to inject dynamic variables into your prompts . Both approaches allow you to capture, process, and save detailed customer interaction data to your preferred AI/ML structure or database system [(1) ]() [(2) ]() [(3) ]() [(5) ]() . ---
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[3] SDKs](https://docs.retellai.com/get-started/sdk) [[4] Chat Widget Custom Function](https://discord.com/channels/1186424376300679209/1387929576860155985) [[5] Voice API: Integrate Phone AI Agents with Your System | Retell AI](https://www.retellai.com/blog/how-to-integrate-phone-ai-agents-with-your-existing-api-systems) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy is there a limit to the tool character size on the MCP?
a
Thanks for the follow-up, @tin_developer. I'll get back to you soon.
### Answer ### Answer Based on the available sources, there is a 4000-character response limit for function results in Retell AI [(1) ]() . This limit applies to MCP tools as well, since MCP tools function similarly to custom functions in the system [(2) ]() . One community member encountered this exact issue when implementing RAG (Retrieval-Augmented Generation) through an MCP function call that retrieved search results from an Azure AI Search vector index [(1) ]() . The 4000-character limit became problematic when documents were longer . The recommended workaround is to implement a chunking strategy by dividing lengthy documents into smaller, manageable sections . The official MCP documentation shows how to configure MCP tools and extract response variables [(2) ]() , but it doesn't specify character limits for the tool responses themselves. The limit appears to be inherited from the general function calling system. If you need to work with longer responses, you'll need to either: 1. Chunk your data before returning it from the MCP tool 2. Make multiple smaller MCP tool calls instead of one large call 3. Store large data externally and return only references or summaries within the 4000-character limit --- **
​ To learn more, see the sources I considered: [[1] Increase function result character limit](https://discord.com/channels/1186424376300679209/1379544272096854177) [[2] MCP](https://docs.retellai.com/build/single-multi-prompt/mcp) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
Can you help me open a support ticket?
@AI Evy can you help me to open a support ticket?
a
Thanks for the follow-up, @tin_developer. I'll get back to you soon.
### Answer Based on the available sources, you can create a support ticket through the Discord bug report channel [(1) ]() [(2) ]() . To create a support ticket, visit the [#❓・bug-report channel]() . Before creating a support ticket, it's recommended to first ask AI-evy, as it can often point you to relevant resources for simple questions [(3) ]() . **
​ To learn more, see the sources I considered: [[1] Discord message from @elguru9007 on 2025-08-20](https://discord.com/channels/1186424376300679209/1186462578310910112/1407580307225444494) [[2] Discord message from @realee_23147 on 2025-08-25](https://discord.com/channels/1186424376300679209/1186462578310910112/1409507686395023393) [[3] Please ask "AI-evy" first then create a support ticket](https://discord.com/channels/1186424376300679209/1304527745103167602) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.