https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do i activate flows in my workspace
# ❓・ai-evy-support
p
@AI Evy how do i activate flows in my workspace?
a
Thanks for tagging me @Peteypete. I'll look through relevant sources and get back to you shortly.
### Answer To create a conversation flow in your workspace, you can head to the Dashboard and create a new conversation flow agent [(1) ]() . You can select a pre-built template to get started . You can also create conversation flows programmatically using the Retell AI API [(2) ]() . Here's how to create a conversation flow:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.create({
 model_choice: { model: 'gpt-4o', type: 'cascading' },
 nodes: [
 {
 id: 'start',
 instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
 type: 'conversation',
 },
 ],
 start_speaker: 'agent',
}) ;
console.log(conversationFlowResponse.conversation_flow_id) ;
To list existing conversation flows in your workspace, you can use:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponses = await client.conversationFlow.list() ;
console.log(conversationFlowResponses) ;
[(3) ]() All changes are auto saved when working with conversation flows in the Dashboard [(1) ]() . You can view all options available to the agent within the Dashboard, with details of the options and any latency implications listed there .
​ To learn more, see the sources I considered: [[1] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[3] List Conversation Flows](https://docs.retellai.com/api-references/list-conversation-flows) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.