Overview
API-powered dropdown fields retrieve their selection options from external APIs at runtime, rather than from a static list of values maintained within Elementum. This enables use cases where dropdown options need to reflect data from third-party systems such as ERPs, CRMs, or custom internal services. In Elementum, an API-powered dropdown is a Dynamic dropdown field that references an API Element. The API Element is built on top of an API CloudLink and exposes one or more API Actions that fetch data from the external system. The dropdown calls a selected API Action at runtime to populate its options.Prerequisites
Before configuring API-powered dropdown fields, ensure the following:- Admin access to the app where you want to add the field
- API endpoint details for the external system:
- Endpoint URL
- HTTP method (GET, POST, or PUT)
- Authentication credentials (if required)
- Response format (JSON)
Step 1: Create an API CloudLink
Follow Connect a REST API via CloudLink to set up the connection. In short:- Navigate to
Organization Settings > CloudLinks.
- Click + CloudLink and choose API.
- Enter a Name and Base URL, select an Authentication method, and provide the credentials.
- Click Save.
API CloudLinks power dropdowns and API Elements only. AI services (OpenAI, Gemini, Snowflake Cortex, etc.) cannot be attached to a CloudLink configured with API as the connection type—use a CloudLink connected to a supported data warehouse instead.
Step 2: Create an API Element
Create a newStep 3: Configure API Actions on the Element
Configure the API Actions required to interact with the API CloudLink through the Element. Each API Action defines how to call the external system — the endpoint path, HTTP method, request parameters, and how the response maps to the Element’s fields. At minimum, configure one API Action that returns the list of records used to populate the dropdown’s options.Step 4: Add a Dynamic Dropdown Field to a Record Layout
- In your app’s Configuration >
Record Details Layout, add a new Dropdown or Multi-Select field.
- In the field configuration, set Dropdown Type to Dynamic.
- In the related object selector on the right side of the page, choose the API Element you created in Step 2.
- Select the API Action to use for populating the dropdown.
- Fill out the remaining field options, including any variable mappings the selected API Action requires (see below).
Variable mappings
If the selected API Action requires input parameters, map them to fields on the current record or to static values:
This allows the dropdown options to change based on other field values on the record.
Supported configurations
The following dynamic-dropdown configurations are supported:
When configuring a parent/child relationship, the child dropdown must be mapped to a field on the current record (typically the parent dropdown’s value) under Variable Mappings, so that the API Action retrieves child options scoped to the parent’s selection.
Cloud Credentials for API Connections
API-powered features store authentication credentials securely through the CloudLink system. To manage API credentials:- Navigate to
Organization Settings > CloudLinks
- Select or create an API CloudLink
- Configure credentials in the credential editor:
- Basic Auth: Username and password
- Bearer Token: API token
- OAuth 2.0: Token URL, client ID, client secret, and optional scope
Considerations
Performance
Performance
- API responses are subject to a configurable timeout. If the external API does not respond within the timeout period, the dropdown displays an error
- Consider the latency of your external API. Dropdowns that take several seconds to load create a poor user experience
- For high-traffic fields, ensure your external API can handle the request volume
Error Handling
Error Handling
- If the API returns an error or is unreachable, the dropdown displays an empty state with an error indicator
- Verify your API endpoint is accessible from Elementum’s servers (firewall rules, IP allowlisting may be required)
Data Freshness
Data Freshness
- Dynamic dropdowns on API Elements fetch data according to the Element’s configured refresh behavior
Security
Security
- Use OAuth 2.0 or Bearer Token authentication for production integrations. Avoid Basic Auth over non-HTTPS endpoints
- API credentials are stored encrypted and are not retrievable after configuration
- Elementum sends requests server-side; API endpoints are not exposed to end users’ browsers