https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I get the time to be dynamically insrested ...
# ❓・ai-evy-support
w
@AI Evy how do I get the time to be dynamically insrested into the prompt, for a specific timezone like melbourne australia, do I use curly brackets, how is it formatted
a
Thanks for tagging me @webb_100. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you use double curly brackets to dynamically insert time into your prompt for a specific timezone like Melbourne, Australia [(1) ]() . The format is:
Copy code
{{current_time_[timezone]}}
For Melbourne, Australia specifically, you would use:
Copy code
{{current_time_Australia/Melbourne}}
Retell provides system default dynamic variables for time, including
{{current_time_[timezone]}}
where you can specify any timezone . The system automatically provides these variables - no configuration required . For example, in your prompt you could write:
Copy code
"The current time in Melbourne is {{current_time_Australia/Melbourne}}"
The output format will be something like "Thursday, March 28, 2024 at 11:46:04 PM AEDT" .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
w
does that include date aswell or just time
@AI Evy also, I tried to do the verifiction for outbound calls with persona, and it continued to fail despite me meeting the criteria, clear image, correct documentation etc, how do I get in touch with support to get this fixed
a
Thanks for the follow-up, @webb_100. I'll get back to you soon.
### Answer Regarding your Persona verification issue for outbound calls, I can see from the community discussions that this is a known problem that several users have experienced [(1) ]() [(2) ]() . Based on the available information, when Persona verification repeatedly fails despite meeting the criteria, the resolution typically requires direct support intervention [(2) ]() . In one case, a user experienced the same issue and support was able to manually approve the verification after escalating to the team . For getting in touch with support to resolve this verification issue, you can: - Visit [Contact Sales]() - Visit [) The community discussions show that support can manually resolve Persona verification issues when they occur , so reaching out directly should help get your outbound calling enabled.
​ To learn more, see the sources I considered: [[1] Persona Verification](https://discord.com/channels/1186424376300679209/1395831931203227801) [[2] Unable to Enable Outbound Calls!](https://discord.com/channels/1186424376300679209/1414932334322651257) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy im going to send an email to the support team, please write out the email content describing my issue
a
Thanks for the follow-up, @webb_100. I'll get back to you soon.
### Answer I don't have access to specific email templates or detailed information about how to structure a support email for Persona verification issues in the available sources. However, based on the community discussions about Persona verification problems [(1) ]() , here's a general structure you could use: Subject: Persona Verification Failing for Outbound Calls - Manual Review Requested Email Content:
Copy code
Dear Retell AI Support Team,

I am experiencing issues with Persona verification for outbound calling functionality on my Retell AI account.

Issue Details:
- Persona verification repeatedly fails despite meeting all stated criteria
- Using clear, high-quality images of valid documentation
- Documentation meets all requirements listed in your verification process
- Multiple attempts have been unsuccessful

Account Information:
- [Your account email/username]
- [Any relevant account details]

I have seen similar cases in the community where manual review resolved this issue. Could you please manually review my verification or escalate this to the appropriate team?

I need outbound calling functionality for my project and would appreciate your assistance in resolving this verification issue.

Thank you for your time and support.

Best regards,
[Your name]
For direct support contact, you can reach out through [Contact Sales]() or visit [) .
​ To learn more, see the sources I considered: [[1] Persona Verification](https://discord.com/channels/1186424376300679209/1395831931203227801) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Hey team, quick question about chatbots and API calls. For building a chatbot integration with Retail, is there a single webhook endpoint that handles the full flow (incoming message + conversation history + response), or does it require multiple API calls? For example, do I need to separately fetch conversation history, then send the new message, then process the response — or is there a more streamlined way of handling that? Just trying to understand the structure of the chat API before I map out workflows.
a
Thanks for the follow-up, @webb_100. I'll get back to you soon.
### Answer For building a chatbot integration with Retell AI, there is a streamlined approach that doesn't require you to separately manage conversation history [(1) ]() . The chat API handles conversation context automatically . Here's the basic workflow: 1. Create a Chat Session using the
create-chat
API endpoint . This returns a
chat_id
that you'll need for subsequent requests . 2. Generate Responses using the
create-chat-completion
API endpoint . The key benefit is that all conversation history is automatically stored in Retell's database, so you don't need to manage conversation context yourself .
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponse = await client.chat.create({ agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD' }) ;
console.log(chatResponse.agent_id) ;
[(2) ]() For generating responses, you use the create-chat-completion endpoint, and the API returns the agent's response in the
messages
array [(1) ]() . You can also retrieve chat details using the
get-chat
API endpoint or list all chat sessions using the
list-chat
endpoint . When the conversation is complete, you end the chat session using the
end-chat
API endpoint . The chat objects include comprehensive information like
transcript
,
message_with_tool_calls
, and conversation metadata [(3) ]() [(2) ]() [(4) ]() , so you have access to the full conversation flow without needing to manually track history.
​ To learn more, see the sources I considered: [[1] Create Chat Completion](https://docs.retellai.com/deploy/create-chat-completion) [[2] Create Chat](https://docs.retellai.com/api-references/create-chat) [[3] List Chat](https://docs.retellai.com/api-references/list-chat) [[4] Get Chat](https://docs.retellai.com/api-references/get-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.