• Resolved nelsonb

    (@nelsonb)


    Hello,

    Our company uses Salesforce, Pardot and Ninja Forms.
    We currently use a Ninja Forms extension to submit the form’s data to Salesforce as a Lead and this works just fine.
    Now we need to track this info with Pardot. The leads in Salesforce get created just fine, but nothing goes to Pardot.

    Part of the debug email is as follows (which I don’t think it actually says what’s wrong):

    *** Service ***
    Array
    (
        [name] => Pardot
        [url] => https://******/l/53732/2016-03-22/b5w6gf
        [forms] => Array
            (
                [0] => njn_6
            )
    
        [success] =>
        [failure] =>
        [timeout] => 10
        [mapping] => Array
            (
                [0] => Array
                    (
                        [lbl] => The email address
                        [src] => ninja_forms_field_20
                        [3rd] => ninja_forms_field_20
                    )
    
                [1] => Array
                    (
                        [lbl] => The first name
                        [src] => ninja_forms_field_17
                        [3rd] => ninja_forms_field_17
                    )
    
                [2] => Array
                    (
                        [lbl] => The last name
                        [src] => ninja_forms_field_18
                        [3rd] => ninja_forms_field_18
                    )
    
                [3] => Array
                    (
                        [lbl] => The address
                        [src] => ninja_forms_field_25
                        [3rd] => ninja_forms_field_25
                    )
    
                [4] => Array
                    (
                        [lbl] => The city
                        [src] => ninja_forms_field_26
                        [3rd] => ninja_forms_field_26
                    )
    
                [5] => Array
                    (
                        [lbl] => The phone
                        [src] => ninja_forms_field_21
                        [3rd] => ninja_forms_field_21
                    )
    
                [6] => Array
                    (
                        [lbl] => The comments
                        [src] => ninja_forms_field_24
                        [3rd] => ninja_forms_field_24
                    )
    
            )
    
        [separator] => ,
    )
    
    *** Post (Form) ***
    https://www.*****/contact-us/
    Array
    (
        [17] => TEST
        [18] => TEST
        [25] => ***
        [26] => ***
        [20] => nb***s@***.com
        [21] => (559) ***-****
        [24] => TEST TEST TEST
        [22] =>
        [28] => *****
        [29] => unknown
        [32] => ****
        [33] => Internet Ad
        [34] => ***
        [First Name] => TEST
        [Last Name] => TEST
        [Street Address] => *****
        [City] => ******
        [Email] => nb***s@***.com
        [Phone] => (559) ***-****
        [Send Us a Comment] => TEST TEST TEST
        [Send Message] =>
        [Record Type Lead] => ******
        [Company] => unknown
        [Lead Owner ID (house2)] => ******
        [Lead Source] => Internet Ad
        [Lead Source Details] => *****
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 10
        [body] => Array
            (
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [date] => Tue, 22 Mar 2016 19:38:23 GMT
                [server] => Apache/2.4.18 (FreeBSD) PHP/5.6.16
                [set-cookie] => wfvt_2323102352=56f19f2f80f56; expires=Tue, 22-Mar-2016 20:08:23 GMT; Max-Age=1800; path=/; httponly
                [link] => Array
                    (
                        [0] => <https://www.******.com/wp-json/>; rel="https://api.w.org/"
                        [1] => <https://wp.me/P7jAI0-64J>; rel=shortlink
                    )
    
                [connection] => close
                [content-type] => text/html; charset=UTF-8
            )

    The Submission URL (action attribute) is the one created in Pardot.

    The mapping on both: the “Forms: 3rd Party Integration” plugin and Pardot’s account use the same field name/IDs such us: ninja_forms_field_17

    I checked this forum posts before submitting the issue, and I only saw one post related to Pardot and CF7 submitted about 2 weeks ago.

    Any assistance I would appreciate it.

    Thank you in advance.

    –Nelson.

    https://www.ads-software.com/plugins/forms-3rdparty-integration/

Viewing 1 replies (of 1 total)
  • Plugin Author zaus

    (@zaus)

    *sigh* It’s because you’re not mapping correctly. I swear I stickied this before…I’ll remake the summary.

    https://www.ads-software.com/support/topic/its-not-sending-data-help-read-this-first

    Specifically, Ninja forms doesn’t provide a ‘machine name’ for the field (the “ninja_forms_field_17” you were expecting) but rather just the ID, as you can see in the “*** Post (Form) ***” section of the debug email. My plugin also includes/can use the field label to make reusing services easier across forms. Just pick the appropriate keys from the “*** Post (Form) ***” section to use as your ‘Source’ fields.

Viewing 1 replies (of 1 total)
  • The topic ‘Ninja Forms & Pardot Integration’ is closed to new replies.