If an entity includes a valid Slack channel configuration in the YAML but the channel does not appear as configured in Cortex, the issue may be due to how private channels are referenced.
When configuring private Slack channels, you must specify the channel by name, not by ID. Using a channel ID for a private channel can prevent it from appearing in the Cortex UI or receiving notifications.
To resolve the issue, update your YAML to use the channel name format, for example:
x-cortex-slack:
channels:
- name: your-private-channel
notificationsEnabled: trueAfter updating the configuration, re-import or refresh the entity to confirm the channel appears as expected.
Important Note: The channel ID changes when moving from private to public, if you are not seeing expected configurations, please re-confirm the correct ID is in use.
For more information, see Integrating Slack with Cortex.