{
  "schema_version": "1.0.0",
  "id": "pipedrive-proposal-follow-up",
  "title": "Schedule a proposal follow-up three days after sending",
  "category": "lead-gen-crm",
  "difficulty": "intermediate",
  "featured": false,
  "description": "When a Pipedrive deal enters the Proposal sent stage, wait three days, add a follow-up call activity, and DM the owner.",
  "tags": [
    "sales",
    "pipedrive",
    "follow-up",
    "slack"
  ],
  "apps": [
    "Pipedrive",
    "Filter by Zapier",
    "Delay by Zapier",
    "Slack"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 4 steps after the trigger",
      "Filter by Zapier"
    ]
  },
  "tasks": {
    "typical": 0,
    "max": 2
  },
  "trigger": {
    "app": "Pipedrive",
    "event": "Updated Deal Stage",
    "kind": "polling",
    "title": "Deal stage changed",
    "why": "Fires when any deal in the pipeline changes stage.",
    "config": {
      "Pipeline": "Sales"
    },
    "outputs": [
      "deal_id",
      "title",
      "stage_name",
      "value",
      "currency",
      "person_name",
      "person_email",
      "owner_name",
      "org_name"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "proposal",
      "kind": "filter",
      "app": "Filter by Zapier",
      "event": "Only continue if...",
      "title": "Only deals that just reached Proposal sent",
      "why": "Most stage changes are something else and stop here.",
      "conditions": [
        [
          {
            "field": "{{trigger.stage_name}}",
            "operator": "(Text) Exactly matches",
            "value": "Proposal sent"
          }
        ]
      ],
      "usually": false
    },
    {
      "key": "wait",
      "kind": "delay",
      "app": "Delay by Zapier",
      "event": "Delay For",
      "title": "Wait three days",
      "why": "Three days gives the buyer time to read without letting the proposal go cold.",
      "fields": {
        "Time Delayed For (value)": "3",
        "Time Delayed For (unit)": "days"
      },
      "outputs": [
        "run_at"
      ]
    },
    {
      "key": "activity",
      "kind": "action",
      "app": "Pipedrive",
      "event": "Create Activity",
      "title": "Add the follow-up call",
      "why": "Shows up on the owner's Pipedrive activity list for today.",
      "fields": {
        "Subject": "Follow up on proposal: {{trigger.title}}",
        "Type": "call",
        "Due Date": "today",
        "Deal": "{{trigger.deal_id}}",
        "Note": "Proposal sent three days ago to {{trigger.person_name}} ({{trigger.person_email}}). Value {{trigger.value}} {{trigger.currency}}."
      },
      "outputs": [
        "id"
      ]
    },
    {
      "key": "nudge",
      "kind": "action",
      "app": "Slack",
      "event": "Send Direct Message",
      "title": "Nudge the owner",
      "why": "A DM makes sure the activity is seen today.",
      "fields": {
        "To Username": "YOUR_SLACK_USERNAME",
        "Message Text": "Follow-up due today: {{trigger.title}} for {{trigger.org_name}} ({{trigger.value}} {{trigger.currency}}). Call {{trigger.person_name}}.",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts"
      },
      "outputs": [
        "ts"
      ]
    }
  ]
}
