';
}
public function description() {
return __( 'Run a Make scenario with every entry (Custom webhook trigger).', 'fieldwren' );
}
public function help() {
return '- ' . esc_html__( 'In Make, add the module "Webhooks" → "Custom webhook" and create a hook.', 'fieldwren' ) . '
- ' . esc_html__( 'Copy its address into a Make feed on the form, click "Redetermine data structure" in Make and submit a test entry.', 'fieldwren' ) . '
';
}
protected function url_placeholder() {
return 'https://hook.eu1.make.com/…';
}
protected function preset_keys() {
return array( 'url', 'body', 'fields', 'meta' );
}
protected function forced() {
return array( 'method' => 'POST', 'format' => 'json' );
}
}