{
  "schema_version": "1.0.0",
  "id": "zoho-lead-from-typeform",
  "title": "Create a Zoho CRM lead from a Typeform quote request",
  "category": "lead-gen-crm",
  "difficulty": "beginner",
  "featured": false,
  "description": "Turn each Typeform quote request into a Zoho CRM lead and email the owner a summary with a link to the record.",
  "tags": [
    "leads",
    "zoho-crm",
    "typeform",
    "gmail"
  ],
  "apps": [
    "Typeform",
    "Zoho CRM",
    "Gmail"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 2 steps after the trigger"
    ]
  },
  "tasks": {
    "typical": 2,
    "max": 2
  },
  "trigger": {
    "app": "Typeform",
    "event": "New Entry",
    "kind": "instant",
    "title": "New quote request",
    "why": "Fires on each submitted quote request.",
    "config": {
      "Form": "Request a quote"
    },
    "outputs": [
      "response_id",
      "submitted_at",
      "first_name",
      "last_name",
      "email",
      "phone",
      "postcode",
      "service",
      "message"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "lead",
      "kind": "action",
      "app": "Zoho CRM",
      "event": "Create Module Entry",
      "title": "Create the Zoho lead",
      "why": "A lead in the Leads module, with the service and postcode in fields the team can filter on.",
      "fields": {
        "Module": "Leads",
        "First Name": "{{trigger.first_name}}",
        "Last Name": "{{trigger.last_name}}",
        "Email": "{{trigger.email}}",
        "Phone": "{{trigger.phone}}",
        "Zip Code": "{{trigger.postcode}}",
        "Lead Source": "Website quote form",
        "Service (custom field)": "{{trigger.service}}",
        "Description": "{{trigger.message}}"
      },
      "outputs": [
        "id"
      ]
    },
    {
      "key": "notify",
      "kind": "action",
      "app": "Gmail",
      "event": "Send Email",
      "title": "Email the owner a readable summary",
      "why": "A plain summary is faster to act on than the Typeform notification, and the link opens the lead.",
      "fields": {
        "To": "YOUR_EMAIL",
        "Subject": "Quote request: {{trigger.service}} in {{trigger.postcode}}",
        "Body Type": "plain",
        "Body": "{{trigger.first_name}} {{trigger.last_name}} asked for a quote.\n\nService: {{trigger.service}}\nPostcode: {{trigger.postcode}}\nPhone: {{trigger.phone}}\nEmail: {{trigger.email}}\n\n{{trigger.message}}\n\nZoho lead: https://crm.zoho.com/crm/YOUR_ORG/tab/Leads/{{lead.id}}",
        "From Name": "Quote form"
      },
      "outputs": [
        "id",
        "thread_id"
      ]
    }
  ]
}
