Find correct syntax for hubspot_submission_data

I want to add the permalink of a post created to the hubspot submission_data I’m unsure how to reference it. I want it in the ‘message’ field in hubspot. I have this but it doesn’t work in the gform_hubspot_submission_data filter. $permalink is stored by ‘update_option’

    if ( ! empty( $permalink ) ) {
        $submission_data['properties'][] = array(
            'property' => 'message',
            'value'    => $permalink
        );
    }

Try changing properties to fields and property to name.

Thank you. I did try that, The debug shows it is added to the fields array, all the other items populate in Hubspot. I waited over the weekend. Cleared some caches and now it works. Thank

    [9] => Array
                (
                    [name] => industry
                    [value] => Place
                )

            [10] => Array
                (
                    [name] => permalink
                    [value] => https://phoey.com/?post_type=listing&p=207
                )

        )