{
  "schema_version": "1.0.0",
  "id": "it-request-form-to-trello",
  "title": "Turn an IT request form into a Trello card with a checklist",
  "category": "ops",
  "difficulty": "beginner",
  "featured": false,
  "description": "A Google Form for laptop, access, and software requests creates a Trello card with the right checklist and confirms receipt by email.",
  "tags": [
    "google-forms",
    "trello",
    "it-requests",
    "gmail"
  ],
  "apps": [
    "Google Forms",
    "Trello",
    "Gmail"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 3 steps after the trigger"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "Google Forms",
    "event": "New Form Response",
    "kind": "polling",
    "title": "New IT request",
    "why": "Fires for each new response to the IT request form. The form fixes the request types, so the card is consistent.",
    "config": {
      "Form": "IT request"
    },
    "outputs": [
      "response_id",
      "timestamp",
      "email",
      "full_name",
      "request_type",
      "details",
      "needed_by"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "card",
      "kind": "action",
      "app": "Trello",
      "event": "Create Card",
      "title": "Create the request card",
      "why": "One card per request in the New column, named so the board reads at a glance.",
      "fields": {
        "Board": "IT requests",
        "List": "New",
        "Name": "{{trigger.request_type}}: {{trigger.full_name}}",
        "Due Date": "{{trigger.needed_by}}",
        "Description": "Requested by {{trigger.full_name}} ({{trigger.email}}) on {{trigger.timestamp}}\n\n{{trigger.details}}",
        "Position": "Bottom"
      },
      "outputs": [
        "id",
        "short_url"
      ]
    },
    {
      "key": "checklist",
      "kind": "action",
      "app": "Trello",
      "event": "Add Checklist to Card",
      "title": "Add the standard checklist",
      "why": "The same five checks on every request, so \"revoke the old access\" is never forgotten.",
      "fields": {
        "Board": "IT requests",
        "Card": "{{card.id}}",
        "Checklist Name": "Before closing",
        "Checklist Items": "Confirm the request with the person\nOrder or grant\nRecord asset or licence in the register\nRemove anything it replaces\nTell the person it is done"
      },
      "outputs": [
        "id"
      ]
    },
    {
      "key": "confirm",
      "kind": "action",
      "app": "Gmail",
      "event": "Send Email",
      "title": "Confirm the request by email",
      "why": "People stop chasing when they get a receipt with the card link.",
      "fields": {
        "To": "{{trigger.email}}",
        "Subject": "Got your IT request: {{trigger.request_type}}",
        "Body Type": "plain",
        "Body": "Hi {{trigger.full_name}},\n\nYour request is on the IT board: {{card.short_url}}\nNeeded by: {{trigger.needed_by}}\n\nReply to this email if anything changes.\n\nOffice team",
        "From Name": "Office team"
      },
      "outputs": [
        "id",
        "thread_id"
      ]
    }
  ]
}
