Basic
Create a new automation flow.
Changed onCreate a new automation flow in your HubSpot account using the AutomationFlowApiService. This endpoint allows you to define the flow's properties and actions, enabling automated processes tailored to your business needs. Ensure that the request body is correctly structured as per the ApiFlowCreateRequest schema.
post/automation/2026-09-beta/flows
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesautomation
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.write
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.delete
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.read
Request body
Response
successful operation
Changes
- info
the security scope
automationwas added to the endpoint's security schemeoauth2 - info
the security scope
workflows.readwas removed from the endpoint's security schemeoauth2
- info
- info
added the new optional request property
/////// - info
added the new optional request property
/////// - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info