{
  "schema_version": "1.0.0",
  "id": "workable-candidate-summary",
  "title": "Summarise a new Workable candidate for the hiring channel",
  "category": "hr-recruiting",
  "difficulty": "intermediate",
  "featured": false,
  "description": "When a candidate applies in Workable, write a three-line summary of their background, post it to Slack, and save it as a comment on the candidate.",
  "tags": [
    "workable",
    "slack",
    "recruiting",
    "ai-summary"
  ],
  "apps": [
    "Workable",
    "AI by Zapier",
    "Slack"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 3 steps after the trigger",
      "AI by Zapier"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "Workable",
    "event": "New Candidate",
    "kind": "instant",
    "title": "New candidate in Workable",
    "why": "Fires when a candidate applies to any open job.",
    "config": {
      "Account": "YOUR_WORKABLE_ACCOUNT",
      "Job": "(any)"
    },
    "outputs": [
      "candidate_id",
      "name",
      "email",
      "job_title",
      "stage",
      "headline",
      "summary",
      "cover_letter",
      "profile_url"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "summary",
      "kind": "ai",
      "app": "AI by Zapier",
      "event": "Analyze and Return Data",
      "title": "Write a three-line summary",
      "why": "Short and factual, built only from what the candidate submitted.",
      "fields": {
        "Model": "Default (fast)",
        "Instructions": "Summarise this job applicant for a busy hiring manager in exactly three lines: 1) current or most recent role and years of experience if stated, 2) the two most relevant strengths for the job, 3) one open question to ask. Use only the text provided. No adjectives like \"impressive\". If something is not stated, say \"not stated\".",
        "Input data": "Job: {{trigger.job_title}}\nHeadline: {{trigger.headline}}\nSummary: {{trigger.summary}}\nCover letter: {{trigger.cover_letter}}",
        "Output fields": "summary_text, open_question"
      },
      "outputs": [
        "summary_text",
        "open_question"
      ]
    },
    {
      "key": "post",
      "kind": "action",
      "app": "Slack",
      "event": "Send Channel Message",
      "title": "Post it to #hiring",
      "why": "The manager sees the candidate the same hour, with a link to the full profile.",
      "fields": {
        "Channel": "#hiring",
        "Message Text": "New applicant for *{{trigger.job_title}}*: {{trigger.name}}\n{{summary.summary_text}}\nProfile: {{trigger.profile_url}}",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts",
        "Include a link to this Zap?": "No"
      },
      "outputs": [
        "ts",
        "permalink"
      ]
    },
    {
      "key": "comment",
      "kind": "action",
      "app": "Workable",
      "event": "Add Comment to Candidate",
      "title": "Save the summary on the candidate",
      "why": "Keeps the same summary in Workable so the recruiter and manager are reading the same thing.",
      "fields": {
        "Candidate": "{{trigger.candidate_id}}",
        "Body": "Auto-summary (check against the CV):\n{{summary.summary_text}}",
        "Policy": "Hiring team"
      },
      "outputs": [
        "id"
      ]
    }
  ]
}
