To set a goal in HubSpot workflows:Navigate to Automations > Workflows.‍Select the contact-based workflow.Click Edit goal, and define the goal criteria. Save the settings to start tracking.