Automate CRM workflows for HubSpot, Salesforce, and Pipedrive including lead management, deal tracking, pipeline automation, and multi-CRM synchronization. Based on n8n workflow templates.
workflow:"Deal Stage Progression"trigger:-type:hubspot_deal_updatedproperty:dealstagestages:appointment_scheduled:actions:-create_task:"Prepare for meeting"due:1_day_before_meeting-notify_slack:"#sales-pipeline"-update_property:last_activity_datequalified_to_buy:actions:-create_task:"Send proposal"due:3_days-notify_manager:true-add_to_forecast:truepresentation_scheduled:actions:-create_task:"Prepare demo environment"-send_reminder:1_hour_before-log_activity:"Presentation scheduled"contract_sent:actions:-set_close_date:14_days_from_now-create_task:"Follow up on contract"due:7_days-notify_legal:ifamount>50000closed_won:actions:-notify_slack:"#wins"-trigger_onboarding:true-update_forecast:remove-celebrate:confetti# Slack celebrationclosed_lost:actions:-log_loss_reason:required-add_to_nurture:true-schedule_reengagement:90_days
ai_scoring_model:provider:openaiprompt:|
Score this lead from 0-100 based on:
- Fit with our ICP (ideal customer profile)
- Buying intent signals
- Budget authority
- Timeline urgency
Lead Data: {lead_data}
ICP:B2BSaaScompanies,50-500employees,SeriesA+Return JSON: {"score":X, "reasoning":"...", "next_action":"..."}
Automated Sequences
Sequence 1: New Lead Welcome
sequence:"New Lead Welcome"trigger:lead_createdANDscore>=50steps:-day_0:type:emailtemplate:"welcome_intro"subject:"Welcome to {Company} - Here's what's next"-day_2:type:emailtemplate:"value_prop"subject:"How {Similar_Company} achieved {Result}"condition:not_replied-day_4:type:taskaction:"LinkedIn connection request"assign_to:owner-day_7:type:emailtemplate:"case_study"subject:"Quick case study for {Lead_Company}"condition:not_replied-day_10:type:emailtemplate:"meeting_request"subject:"15 min to discuss {Pain_Point}?"include:calendly_link-day_14:type:taskaction:"Phone call attempt"assign_to:ownercondition:not_responded
Sequence 2: Deal Follow-Up
sequence:"Proposal Follow-Up"trigger:deal_stage=="contract_sent"steps:-day_3:type:emailtemplate:"contract_check_in"subject:"Any questions about the proposal?"-day_7:type:taskaction:"Phone call - contract follow-up"-day_10:type:emailtemplate:"deadline_reminder"subject:"Pricing valid until {deadline}"condition:not_responded-day_14:type:alertnotify:sales_managermessage:"Deal stuck in contract stage"
Integration Recipes
Recipe 1: Calendly → HubSpot
trigger:calendly.booking_createdactions:1. search_contact:hubspot.search:email==calendly.invitee_email2. create_or_update:if:contact_existshubspot.update_contact:last_meeting_booked:calendly.start_timeelse:hubspot.create_contact:email:calendly.invitee_emailfirstname:calendly.invitee_namelifecycle_stage:"salesqualifiedlead"3. create_meeting:hubspot.create_engagement:type:MEETINGscheduled_time:calendly.start_timetitle:calendly.event_name4. notify:slack.send:channel:"#sales"message:"Meeting booked: {name} at {time}"