def opsgenie_slack_enricher(alert: PrometheusKubernetesAlert, params: OpsGenieLinkParams):
    """
    Adds buttons to Robusta alerts in Slack for OpsGenie users:
    1. A button to  acknowledge OpsGenie alerts from Robusta alerts
    2. A button to view Robusta alerts in OpsGenie (finds the relevant alert in OpsGenie and takes you there)
    """
    normalized_url_base = normalize_url_base(params.url_base)
    alert.add_link(
        Link(
            url=f"https://{normalized_url_base}/alert/list?query=alias:{alert.alert.fingerprint}",
            name="OpsGenie Alert",
            type=LinkType.OPSGENIE_LIST_ALERT_BY_ALIAS,
        )
    )

    alert.add_enrichment(
        [
            CallbackBlock(
                {
                    f"Ack Opsgenie Alert": CallbackChoice(
                        action=ack_opsgenie_alert_from_slack,
                        action_params=OpsGenieAckParams(
                            alert_fingerprint=alert.alert.fingerprint,
                        ),
                    )
                },
            )
        ]
    )

    Adds buttons to Robusta alerts in Slack for OpsGenie users:
    1. A button to  acknowledge OpsGenie alerts from Robusta alerts
    2. A button to view Robusta alerts in OpsGenie (finds the relevant alert in OpsGenie and takes you there)
    
playbooks/robusta_playbooks/sink_enrichments.py