def METHOD_NAME(self, workflow_id: str, params: dict, **kwargs):
    logging.info("Run on generic workflow %s, %s", params, kwargs)
    api_url = self.configuration.api_url
    obj = {"workflow_id": workflow_id, "params": params}
    headers = {
        "Content-Type": "application/json",
        "Authorization": self.configuration.auth_header.get_secret_value(),
    }
    resp = requests.post(api_url, data=json.dumps(obj), headers=headers)
    if resp.status_code in [429, 500, 502, 503, 504]:
        raise TryAgain
    return resp.json()