Submit Form
AI-generatedSummary
Submits a HubSpot form for the selected form GUID, creating or updating a contact with the provided email and any additional properties. Optionally includes GDPR consent, email subscription preferences, and contextual information (page URI, page name, HUTK token, IP address). The operation returns the raw response from HubSpot's form submission API.
Inputs
- formGuid (required) — The HubSpot form to submit (selected from the list loaded from your account).
- email (required) — Email address to submit with the form; required for contact creation.
- submitEndpoint — Endpoint type: secure (recommended, with spam protection) or unsecure (legacy).
- additionalFields — Additional HubSpot object properties to submit; each field specifies object type, property name, and value.
- context — Optional context for analytics: page URI, page name, HubSpot user token (HUTK), and IP address.
- includeConsent — Whether to include GDPR consent and subscription preferences with the submission.
- consentText — Consent text shown to the user (required when includeConsent is true).
- consentToProcess — Whether the user consented to data processing (required when includeConsent is true).
- communications — Email subscription preferences for different communication types (required when includeConsent is true).
Output shape
Array of items, each containing a json property with the HubSpot form submission response.
The response typically includes a
submissionIdand any errors from HubSpot.