def main(name):
    """Start Execution of Activity function.

    Args:
        name (dict): data received via manual trigger to add integration settings.

    Returns:
        str: setting_id on success or error message on failure.
    """
    try:
        applogger.info("Activity function called for manual trigger.")
        configuresettings = DataminrPulseConfigureSettings()
        settings_id = configuresettings.add_webhook_configuration_to_dataminr(
            name
        )
        return settings_id
    except DataminrPulseException as err:
        return (
            "Error while adding integration settings to Dataminr account. {}".format(
                err
            )
        )
Start Execution of Activity function.

    Args:
        name (dict): data received via manual trigger to add integration settings.

    Returns:
        str: setting_id on success or error message on failure.
    
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/__init__.py