• Resolved ajtatum

    (@ajtatum)


    Hi, would it be possible to send the form submission to a webhook? I host n8n (an open-source Zapier) and would like to leverage that for integrations you currently don’t support.

    Thanks,
    AJ

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @ajtatum

    I hope you are doing well.

    You would need to use some custom coding for this, Forminator has this action:

    /**
     * Action called before setting fields to database
     *
     * @since 1.0.2
     *
     * @param Forminator_Form_Entry_Model $entry - the entry model.
     * @param int $form_id - the form id.
     * @param array $field_data_array - the entry data.
     */
    do_action( 'forminator_custom_form_submit_before_set_fields', $entry, self::$module_id, self::$info['field_data_array'] );

    $entry = The submitted entry model

    $form_id = The ID of the form

    $field_data_array = The submitted entry data

    The code would look like:

    add_action( 'forminator_custom_form_submit_before_set_fields', 'my_function', 10, 3);
    function my_function( $entry, $form_id, $form_data_array ) {
    
    // do something here
    // you got submitted data in $form_data_aray
    // you also have entire "submission" as object in $entry if needed
    
    }

    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @ajtatum ,

    We haven’t heard from you for some time now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Sorry for bringing this thread up again.
    I also tried to connect Forminator to the n8n automation Webhooks. But it gives me the error: Not Found
    With a browser I can access the hook URL.
    Where do I have to change the files to get it to work?

    Thanks in advance.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @r4tze

    Sorry to hear you are having this issue.

    Per forum rules, we don’t spam the thread starts, since you opened a new ticket on https://www.ads-software.com/support/topic/connect-forminator-plugin-to-n8n-webhook/ we will handle it from there.

    Best Regards
    Patrick Freitas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Send form submission to webhook?’ is closed to new replies.