Automation Logs for Developers

Customize PRO automation logs and redact sensitive details.

Updated

Automation logs are stored on submissions when logging is enabled. Developers can customize what details are recorded and which values are redacted.

Filter log details

add_filter('elzo_forms_pro_automation_log_filter_details', function ($details, $action_type) {
    unset($details['api_token']);
    return $details;
}, 10, 2);

Customize sensitive fields

add_filter('elzo_forms_pro_automation_log_sensitive_fields', function ($sensitive_fields, $action_type) {
    $sensitive_fields['my_action'] = ['password', 'token', 'secret'];
    return $sensitive_fields;
}, 10, 2);

Elzo Forms redacts sensitive details for built-in actions such as webhooks and send email. Custom actions should also avoid storing secrets in returned action details.