Rich, senior software engineer at Codingscape, live codes a Hubspot agent workflow for sales prospects using Cursor and n8n in 40-minutes.
-Environment setup & tool introduction (0-10 mins): Rich introduces the tools and sets up the foundational n8n workflow.
-Core workflow building with n8n (10-25 mins): This is where the magic happens. Rich builds a workflow to "upsert" (update or insert) a contact in HubSpot. He configures a webhook trigger and connects it to a HubSpot node, mapping incoming data from the webhook to specific HubSpot contact properties.
-Cursor-powered custom logic & UI (25-35 mins): Rich builds the React frontend with the help of Cursor. He asks the AI to generate a modal with a form containing fields for a prospect's information. The AI provides the necessary React code, including state management and a function to handle form submission.
-Testing and deployment (35-40 mins): The final minutes are spent testing the full end-to-end process. Rich triggers the workflow from his application, verifies that the contact is updated in HubSpot, and confirms that the application receives a successful response from the webhook.