Retell’s /create-chat API natively supports both metadata and retell_llm_dynamic_variables — you can pass custom fields and dynamic variables when creating a chat via our API. Full details are in our [API docs](https://docs.retellai.com/api-references/create-chat).
The GHL → Retell integration is a third-party connector, not built natively by Retell. Whether the GHL action UI exposes fields for metadata or dynamic variables depends on how that connector was built. If it doesn’t currently support passing those fields, the recommended approach is to call Retell’s /create-chat API directly (e.g., via GHL’s HTTP webhook action or a custom workflow step) so you have full control over metadata and retell_llm_dynamic_variables.
Using tool-based retrieval (e.g., a “Get Contact” custom function) to fetch GHL contact data during a conversation is a valid and commonly used pattern. It works well when you need to pull data dynamically mid-conversation.
Regarding plans for dynamic variable injection directly in the GHL action — since that integration is maintained by a third party, we’d recommend reaching out to the GHL integration developer for feature requests on their side. On Retell’s end, our API already supports this functionality.
In short, the most flexible approach is to use Retell’s API directly (bypassing the GHL native action) when you need to inject metadata or dynamic variables.