You are trying to create a post using the wp_insert_post() function after a user submits a contact form 7 form. Well, that is exactly what my code does: using the wpcf7_before_send_mail hook, it creates a post of type post, in your case it would be the type ‘products’, but the rest of the code is almost the same, just replace my form fields with yours and you are done.