Get Component Options
get_component_optionsResolve a field's dynamic options at runtime using the owning component's credentials, so you can populate Slack channel pickers, spreadsheet lists, and generated output variables.
Instructions
Resolve a field's dynamic options at runtime — the values behind inspector fields and output ports whose manifest declares a source URL (Slack channel pickers, spreadsheet lists, generated output variables). Take component_type and out_port from that source URL (it often points at a different, auxiliary component), and pass the component that owns the field as component_id — it must already exist in a flow and, for connected services, have an account assigned, because the lookup runs with that component's credentials. Results are the auxiliary component's raw output: sources that declare a transform are not converted here, so pick the identifier the target field expects (Slack channels: id). Pointer strings in source.data such as "properties/event" mean "send that property's value".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of options to return. | |
| messages | No | Input messages the source expects, keyed by inPort, e.g. {"in": {"types": "public_channel"}}. | |
| out_port | No | Output port name from the source URL (its `outPort` query parameter). | |
| properties | No | Property values the source expects, e.g. {"generateOutputPortOptions": true}. | |
| component_id | Yes | ID of the component that owns the field, in one of your flows. | |
| component_type | Yes | Component type from the source URL, e.g. "appmixer.slack.list.ListChannels". |