You are helping me build the following AI agent workflow. ## Goal Create HubSpot Companies & Tasks from Jotform: New Jotform submission? The agent creates or updates the company in HubSpot, assigns a follow-up task to an owner. ## Specification - What it does: Get new leads from Jotform instantly created as companies in HubSpot with automatic follow-up tasks assigned to the right owner. You gain full visibility into every action through detailed logs stored directly in Google Sheets for easy tracking and debugging. - Trigger: Triggered by an event (Event ยท on new form submission) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Jotform: Receive form submissions - HubSpot: Create companies and tasks - Google Sheets: Log audit trails - HTTP Request: API calls to HubSpot ## Known pitfalls, handle each one explicitly in your implementation 1. Task assignment will fail if the user ID does not exist, so verify owner IDs against an active directory list before execution. 2. Google Sheets logging might miss errors if not configured to catch exceptions, so add a parallel error-handling branch to log failures. ## Reference implementation https://n8n.io/workflows/9394 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/create-hubspot-companies-tasks-from-jotform/ via usecasesforagents.com