def METHOD_NAME(bad_platforms):
    if not settings.RUNNING_IN_CLOUD or not settings.ENGAGEMENTBOT_WEBHOOK:
        logger.info(
            "Some Brainarray platforms did not have enough overlap with the previous run",
            bad_platforms=bad_platforms,
        )
        return
    requests.post(
        settings.ENGAGEMENTBOT_WEBHOOK,
        json={
            "attachments": [
                {
                    "fallback": "Brianarray Test Failed",
                    "title": "Brainarray Test Failed",
                    "color": "#db3b28",
                    "text": "Some Brainarray platforms did not have enough overlap with the previous run",
                    "fields": [{"title": "Failing Platforms", "value": ", ".join(bad_platforms)}],
                    "footer": "Refine.bio",
                    "footer_icon": "https://s3.amazonaws.com/refinebio-email/logo-2x.png",
                }
            ],
        },
        headers={"Content-Type": "application/json"},
        timeout=10,
    )