Create the form based on your needs from Formidable forms settings.
From Build section, make sure you add an extra hidden field with the following ywctm-product-id in Advanced > Field key as shown below:
In section Settings > Action & Notifications, in the email body, make sure you include the shortcode [default-message] to add all fields automatically. Alternatively, you can add them one by one using the field-related shortcode created:
Set up your form in YITH Catalog Mode > Inquiry Form:
Refer to this page for more details.