https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I export conversational flow agent as json
# ❓・ai-evy-support
r
@AI Evy how do I export conversational flow agent as json
a
Thanks for tagging me @reetamg. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) [[2] Conversation Flow: Import / Upload JSON](https://discord.com/channels/1186424376300679209/1394595851942367252) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer You can export a Conversation Flow agent as JSON by using the Get Conversation Flow API endpoint [(1) ]() . This endpoint retrieves the complete details of a specific conversation flow, which includes all the configuration in JSON format . Here's how to do it using the Retell SDK:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.retrieve('conversation_flow_id') ;
console.log(conversationFlowResponse.conversation_flow_id) ;
The response will contain the full JSON structure including model_choice, nodes, tools, components, and all other configuration details . Additionally, according to a Discord discussion, it's possible to export and import conversation flows directly through the Retell AI dashboard interface [(2) ]() .
r
@AI Evy how do I do it in the dashboard
a
Thanks for the follow-up, @reetamg. I'll get back to you soon.
### Answer I don't have specific documentation about exporting Conversation Flow agents as JSON directly through the dashboard interface in the available sources. The official documentation I have access to covers the API method for retrieving conversation flows, but doesn't detail dashboard export functionality. However, based on the previous context in this thread, there was a mention of being able to export and import conversation flows through the dashboard interface, though the specific steps aren't documented in the sources I can access. For the most accurate and up-to-date instructions on dashboard export functionality, I'd recommend: Check out these potentially useful sources: - [Conversation Flow Overview]() - [Step 1: Configure global settings]() You might also want to reach out through: - Visit [Contact Sales]() - Visit [) Would you like me to provide a general answer based on common dashboard patterns, or would you prefer to wait for official guidance?
message has been deleted
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.