{
  "name": "QuietPass — paid Sheets contact checks (OFF)",
  "flow": [
    {
      "id": 1,
      "module": "google-sheets:watchRows",
      "version": 2,
      "parameters": {
        "__IMTCONN__": null,
        "mode": "map",
        "includesHeaders": true,
        "limit": 10,
        "valueRenderOption": "FORMATTED_VALUE",
        "dateTimeRenderOption": "FORMATTED_STRING",
        "spreadsheetId": "REPLACE_SPREADSHEET_ID",
        "sheetId": "PaidContacts",
        "tableFirstRow": "A1:D1"
      },
      "mapper": {},
      "metadata": {
        "designer": {
          "x": 0,
          "y": 0,
          "name": "Watch input rows — IDs never depend on row position"
        }
      }
    },
    {
      "id": 2,
      "module": "app#quietpass-kkwpuh:automationSettings",
      "version": 1,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {},
      "metadata": {
        "designer": {
          "x": 300,
          "y": 0,
          "name": "Get workflow spending limits"
        },
        "expect": [],
        "interface": [
          {
            "name": "available",
            "label": "Automation available",
            "type": "boolean"
          },
          {
            "name": "enabled",
            "label": "New purchases enabled",
            "type": "boolean"
          },
          {
            "name": "revision",
            "label": "Settings revision",
            "type": "uinteger"
          },
          {
            "name": "currency",
            "label": "Workspace currency",
            "type": "text"
          },
          {
            "name": "maxSpend",
            "label": "Maximum per lookup",
            "type": "text"
          },
          {
            "name": "dailyLimit",
            "label": "Maximum per day",
            "type": "text"
          },
          {
            "name": "heldAmount",
            "label": "Amount reserved",
            "type": "text"
          },
          {
            "name": "spentToday",
            "label": "Charged today",
            "type": "text"
          },
          {
            "name": "remainingToday",
            "label": "Available today",
            "type": "text"
          },
          {
            "name": "operations",
            "label": "Recent saved operations",
            "type": "array",
            "spec": [
              {
                "name": "id",
                "label": "Operation ID",
                "type": "text"
              },
              {
                "name": "state",
                "label": "State",
                "type": "text"
              },
              {
                "name": "quoteId",
                "label": "Quote ID",
                "type": "text"
              },
              {
                "name": "maxSpend",
                "label": "Maximum amount",
                "type": "text"
              },
              {
                "name": "chargedAmount",
                "label": "Charged amount",
                "type": "text"
              },
              {
                "name": "updated_at",
                "label": "Updated at (ISO 8601)",
                "type": "text"
              }
            ]
          }
        ]
      }
    },
    {
      "id": 3,
      "module": "app#quietpass-kkwpuh:formatPhone",
      "version": 1,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "phone": "{{1.`1`}}",
        "defaultCountry": "{{1.`2`}}"
      },
      "metadata": {
        "designer": {
          "x": 600,
          "y": 0,
          "name": "Format a phone number"
        },
        "expect": [
          {
            "name": "phone",
            "type": "text",
            "label": "Phone number",
            "required": true,
            "help": "Map one phone number. Use the country field for local numbers."
          },
          {
            "name": "defaultCountry",
            "type": "text",
            "label": "Default country for local numbers",
            "help": "Two-letter country code, such as GB or US. Leave blank for international input."
          }
        ],
        "interface": [
          {
            "name": "requestId",
            "label": "Request ID",
            "type": "text"
          },
          {
            "name": "mode",
            "label": "Mode",
            "type": "text"
          },
          {
            "name": "simulated",
            "label": "Simulated",
            "type": "boolean"
          },
          {
            "name": "preparedAt",
            "label": "Prepared at",
            "type": "date"
          },
          {
            "name": "number",
            "label": "Phone number",
            "type": "collection",
            "spec": [
              {
                "name": "e164",
                "label": "International number",
                "type": "text"
              },
              {
                "name": "national",
                "label": "National number",
                "type": "text"
              },
              {
                "name": "international",
                "label": "Formatted international number",
                "type": "text"
              },
              {
                "name": "country",
                "label": "Country",
                "type": "text"
              },
              {
                "name": "valid",
                "label": "Numbering plan valid",
                "type": "boolean"
              },
              {
                "name": "validationReason",
                "label": "Validation reason",
                "type": "text"
              },
              {
                "name": "type",
                "label": "Line type",
                "type": "text"
              },
              {
                "name": "typeReason",
                "label": "Line type unavailable reason",
                "type": "text"
              },
              {
                "name": "carrier",
                "label": "Current carrier",
                "type": "text"
              },
              {
                "name": "carrierReason",
                "label": "Carrier unavailable reason",
                "type": "text"
              },
              {
                "name": "ported",
                "label": "Ported",
                "type": "boolean"
              },
              {
                "name": "portedReason",
                "label": "Porting unavailable reason",
                "type": "text"
              }
            ]
          },
          {
            "name": "contact",
            "label": "Contact options",
            "type": "collection",
            "spec": [
              {
                "name": "sms",
                "label": "SMS support",
                "type": "collection",
                "spec": [
                  {
                    "name": "supported",
                    "label": "Supported",
                    "type": "boolean"
                  },
                  {
                    "name": "assumed",
                    "label": "Assumed from line type",
                    "type": "boolean"
                  },
                  {
                    "name": "basis",
                    "label": "Evidence basis",
                    "type": "text"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "whatsapp",
                "label": "WhatsApp registration",
                "type": "collection",
                "spec": [
                  {
                    "name": "registered",
                    "label": "Registered",
                    "type": "boolean"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "telegram",
                "label": "Telegram registration",
                "type": "collection",
                "spec": [
                  {
                    "name": "registered",
                    "label": "Registered",
                    "type": "boolean"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              }
            ]
          },
          {
            "name": "network",
            "label": "Network status",
            "type": "collection",
            "spec": [
              {
                "name": "reachable",
                "label": "Reachable",
                "type": "boolean"
              },
              {
                "name": "reason",
                "label": "Unavailable reason",
                "type": "text"
              }
            ]
          },
          {
            "name": "billing",
            "label": "Charge receipt",
            "type": "collection",
            "spec": [
              {
                "name": "currency",
                "label": "Currency",
                "type": "text"
              },
              {
                "name": "amount",
                "label": "Billed amount",
                "type": "text"
              }
            ]
          }
        ]
      },
      "onerror": [
        {
          "id": 103,
          "module": "builtin:Ignore",
          "version": 1,
          "parameters": {},
          "mapper": {},
          "metadata": {
            "designer": {
              "x": 600,
              "y": 250,
              "name": "Leave failed free formatting for review; never purchase"
            }
          }
        }
      ],
      "filter": {
        "name": "Customer enabled workflow purchases",
        "conditions": [
          [
            {
              "a": "{{2.available}}",
              "o": "text:equal",
              "b": "true"
            },
            {
              "a": "{{2.enabled}}",
              "o": "text:equal",
              "b": "true"
            }
          ]
        ]
      }
    },
    {
      "id": 4,
      "module": "app#quietpass-kkwpuh:prepareAutomation",
      "version": 1,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "phone": "{{3.number.e164}}",
        "workflowId": "sheets:REPLACE_SPREADSHEET_ID",
        "recordId": "{{1.`0`}}",
        "revision": "{{1.`3`}}",
        "checks": [
          "basic_line_type",
          "enhanced_line_type",
          "current_carrier",
          "mnp",
          "live_status",
          "sms",
          "whatsapp",
          "telegram"
        ],
        "currency": "{{2.currency}}",
        "maxSpend": "0.00"
      },
      "metadata": {
        "designer": {
          "x": 900,
          "y": 0,
          "name": "Prepare a saved phone check"
        },
        "expect": [
          {
            "name": "phone",
            "type": "text",
            "label": "Phone number",
            "required": true,
            "help": "Map one phone number. Use the country field for local numbers."
          },
          {
            "name": "defaultCountry",
            "type": "text",
            "label": "Default country for local numbers",
            "help": "Two-letter country code, such as GB or US. Leave blank for international input."
          },
          {
            "name": "workflowId",
            "type": "text",
            "label": "Workflow ID",
            "required": true,
            "help": "A fixed identifier for this automation. Never use the current execution ID."
          },
          {
            "name": "recordId",
            "type": "text",
            "label": "Immutable source record ID",
            "required": true,
            "help": "A contact ID or a permanent sheet row ID, not its row position."
          },
          {
            "name": "revision",
            "type": "text",
            "label": "Source phone revision",
            "required": true,
            "help": "The source phone-change revision. Preserve it on retries and result writes."
          },
          {
            "name": "checks",
            "type": "select",
            "label": "Checks",
            "required": true,
            "multiple": true,
            "options": [
              {
                "label": "Number details",
                "value": "basic_line_type"
              },
              {
                "label": "Detailed number type",
                "value": "enhanced_line_type"
              },
              {
                "label": "Current network",
                "value": "current_carrier"
              },
              {
                "label": "Number ported",
                "value": "mnp"
              },
              {
                "label": "Live number status",
                "value": "live_status"
              },
              {
                "label": "Landline SMS enablement",
                "value": "sms"
              },
              {
                "label": "WhatsApp",
                "value": "whatsapp"
              },
              {
                "label": "Telegram",
                "value": "telegram"
              }
            ]
          },
          {
            "name": "currency",
            "type": "select",
            "label": "Workspace currency",
            "required": true,
            "options": [
              {
                "label": "GBP",
                "value": "GBP"
              },
              {
                "label": "USD",
                "value": "USD"
              },
              {
                "label": "EUR",
                "value": "EUR"
              }
            ]
          },
          {
            "name": "maxSpend",
            "type": "text",
            "label": "Maximum per lookup",
            "required": true,
            "default": "0.00",
            "help": "Use 0.00 for free Number details, or an amount such as 0.05 for both paid packages. This cannot exceed your Connected tools limit."
          }
        ],
        "interface": [
          {
            "name": "id",
            "label": "Saved operation ID",
            "type": "text"
          },
          {
            "name": "state",
            "label": "Operation state",
            "type": "text"
          },
          {
            "name": "quoteId",
            "label": "Original quote ID",
            "type": "text"
          },
          {
            "name": "maxSpend",
            "label": "Maximum amount",
            "type": "text"
          },
          {
            "name": "heldAmount",
            "label": "Amount reserved",
            "type": "text"
          },
          {
            "name": "chargedAmount",
            "label": "Charged amount",
            "type": "text"
          },
          {
            "name": "resultState",
            "label": "Saved result state",
            "type": "text"
          },
          {
            "name": "result",
            "label": "Phone check result",
            "type": "collection",
            "spec": [
              {
                "name": "requestId",
                "label": "Request ID",
                "type": "text"
              },
              {
                "name": "mode",
                "label": "Mode",
                "type": "text"
              },
              {
                "name": "simulated",
                "label": "Simulated",
                "type": "boolean"
              },
              {
                "name": "preparedAt",
                "label": "Prepared at",
                "type": "date"
              },
              {
                "name": "number",
                "label": "Phone number",
                "type": "collection",
                "spec": [
                  {
                    "name": "e164",
                    "label": "International number",
                    "type": "text"
                  },
                  {
                    "name": "national",
                    "label": "National number",
                    "type": "text"
                  },
                  {
                    "name": "international",
                    "label": "Formatted international number",
                    "type": "text"
                  },
                  {
                    "name": "country",
                    "label": "Country",
                    "type": "text"
                  },
                  {
                    "name": "valid",
                    "label": "Numbering plan valid",
                    "type": "boolean"
                  },
                  {
                    "name": "validationReason",
                    "label": "Validation reason",
                    "type": "text"
                  },
                  {
                    "name": "type",
                    "label": "Line type",
                    "type": "text"
                  },
                  {
                    "name": "typeReason",
                    "label": "Line type unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "carrier",
                    "label": "Current carrier",
                    "type": "text"
                  },
                  {
                    "name": "carrierReason",
                    "label": "Carrier unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "ported",
                    "label": "Ported",
                    "type": "boolean"
                  },
                  {
                    "name": "portedReason",
                    "label": "Porting unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "contact",
                "label": "Contact options",
                "type": "collection",
                "spec": [
                  {
                    "name": "sms",
                    "label": "SMS support",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "supported",
                        "label": "Supported",
                        "type": "boolean"
                      },
                      {
                        "name": "assumed",
                        "label": "Assumed from line type",
                        "type": "boolean"
                      },
                      {
                        "name": "basis",
                        "label": "Evidence basis",
                        "type": "text"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "whatsapp",
                    "label": "WhatsApp registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "telegram",
                    "label": "Telegram registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "network",
                "label": "Network status",
                "type": "collection",
                "spec": [
                  {
                    "name": "reachable",
                    "label": "Reachable",
                    "type": "boolean"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "billing",
                "label": "Charge receipt",
                "type": "collection",
                "spec": [
                  {
                    "name": "currency",
                    "label": "Currency",
                    "type": "text"
                  },
                  {
                    "name": "amount",
                    "label": "Billed amount",
                    "type": "text"
                  }
                ]
              }
            ]
          }
        ]
      },
      "filter": {
        "name": "Valid phone with a permanent ID and explicit revision",
        "conditions": [
          [
            {
              "a": "{{3.number.valid}}",
              "o": "text:equal",
              "b": "true"
            },
            {
              "a": "{{1.`0`}}",
              "o": "text:notequal",
              "b": ""
            },
            {
              "a": "{{1.`3`}}",
              "o": "text:notequal",
              "b": ""
            }
          ]
        ]
      }
    },
    {
      "id": 5,
      "module": "app#quietpass-kkwpuh:runAutomation",
      "version": 1,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "operationId": "{{4.id}}",
        "allowPaid": false
      },
      "metadata": {
        "designer": {
          "x": 1200,
          "y": 0,
          "name": "Run a saved phone check"
        },
        "expect": [
          {
            "name": "operationId",
            "type": "text",
            "label": "Saved operation ID",
            "required": true
          },
          {
            "name": "allowPaid",
            "type": "boolean",
            "label": "Allow credit use",
            "required": true,
            "default": false
          }
        ],
        "interface": [
          {
            "name": "id",
            "label": "Saved operation ID",
            "type": "text"
          },
          {
            "name": "state",
            "label": "Operation state",
            "type": "text"
          },
          {
            "name": "quoteId",
            "label": "Original quote ID",
            "type": "text"
          },
          {
            "name": "maxSpend",
            "label": "Maximum amount",
            "type": "text"
          },
          {
            "name": "heldAmount",
            "label": "Amount reserved",
            "type": "text"
          },
          {
            "name": "chargedAmount",
            "label": "Charged amount",
            "type": "text"
          },
          {
            "name": "resultState",
            "label": "Saved result state",
            "type": "text"
          },
          {
            "name": "result",
            "label": "Phone check result",
            "type": "collection",
            "spec": [
              {
                "name": "requestId",
                "label": "Request ID",
                "type": "text"
              },
              {
                "name": "mode",
                "label": "Mode",
                "type": "text"
              },
              {
                "name": "simulated",
                "label": "Simulated",
                "type": "boolean"
              },
              {
                "name": "preparedAt",
                "label": "Prepared at",
                "type": "date"
              },
              {
                "name": "number",
                "label": "Phone number",
                "type": "collection",
                "spec": [
                  {
                    "name": "e164",
                    "label": "International number",
                    "type": "text"
                  },
                  {
                    "name": "national",
                    "label": "National number",
                    "type": "text"
                  },
                  {
                    "name": "international",
                    "label": "Formatted international number",
                    "type": "text"
                  },
                  {
                    "name": "country",
                    "label": "Country",
                    "type": "text"
                  },
                  {
                    "name": "valid",
                    "label": "Numbering plan valid",
                    "type": "boolean"
                  },
                  {
                    "name": "validationReason",
                    "label": "Validation reason",
                    "type": "text"
                  },
                  {
                    "name": "type",
                    "label": "Line type",
                    "type": "text"
                  },
                  {
                    "name": "typeReason",
                    "label": "Line type unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "carrier",
                    "label": "Current carrier",
                    "type": "text"
                  },
                  {
                    "name": "carrierReason",
                    "label": "Carrier unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "ported",
                    "label": "Ported",
                    "type": "boolean"
                  },
                  {
                    "name": "portedReason",
                    "label": "Porting unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "contact",
                "label": "Contact options",
                "type": "collection",
                "spec": [
                  {
                    "name": "sms",
                    "label": "SMS support",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "supported",
                        "label": "Supported",
                        "type": "boolean"
                      },
                      {
                        "name": "assumed",
                        "label": "Assumed from line type",
                        "type": "boolean"
                      },
                      {
                        "name": "basis",
                        "label": "Evidence basis",
                        "type": "text"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "whatsapp",
                    "label": "WhatsApp registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "telegram",
                    "label": "Telegram registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "network",
                "label": "Network status",
                "type": "collection",
                "spec": [
                  {
                    "name": "reachable",
                    "label": "Reachable",
                    "type": "boolean"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "billing",
                "label": "Charge receipt",
                "type": "collection",
                "spec": [
                  {
                    "name": "currency",
                    "label": "Currency",
                    "type": "text"
                  },
                  {
                    "name": "amount",
                    "label": "Billed amount",
                    "type": "text"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": 6,
      "module": "app#quietpass-kkwpuh:recoverAutomation",
      "version": 1,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "operationId": "{{4.id}}"
      },
      "metadata": {
        "designer": {
          "x": 1500,
          "y": 0,
          "name": "Get a saved phone check"
        },
        "expect": [
          {
            "name": "operationId",
            "type": "text",
            "label": "Saved operation ID",
            "required": true
          }
        ],
        "interface": [
          {
            "name": "id",
            "label": "Saved operation ID",
            "type": "text"
          },
          {
            "name": "state",
            "label": "Operation state",
            "type": "text"
          },
          {
            "name": "quoteId",
            "label": "Original quote ID",
            "type": "text"
          },
          {
            "name": "maxSpend",
            "label": "Maximum amount",
            "type": "text"
          },
          {
            "name": "heldAmount",
            "label": "Amount reserved",
            "type": "text"
          },
          {
            "name": "chargedAmount",
            "label": "Charged amount",
            "type": "text"
          },
          {
            "name": "resultState",
            "label": "Saved result state",
            "type": "text"
          },
          {
            "name": "result",
            "label": "Phone check result",
            "type": "collection",
            "spec": [
              {
                "name": "requestId",
                "label": "Request ID",
                "type": "text"
              },
              {
                "name": "mode",
                "label": "Mode",
                "type": "text"
              },
              {
                "name": "simulated",
                "label": "Simulated",
                "type": "boolean"
              },
              {
                "name": "preparedAt",
                "label": "Prepared at",
                "type": "date"
              },
              {
                "name": "number",
                "label": "Phone number",
                "type": "collection",
                "spec": [
                  {
                    "name": "e164",
                    "label": "International number",
                    "type": "text"
                  },
                  {
                    "name": "national",
                    "label": "National number",
                    "type": "text"
                  },
                  {
                    "name": "international",
                    "label": "Formatted international number",
                    "type": "text"
                  },
                  {
                    "name": "country",
                    "label": "Country",
                    "type": "text"
                  },
                  {
                    "name": "valid",
                    "label": "Numbering plan valid",
                    "type": "boolean"
                  },
                  {
                    "name": "validationReason",
                    "label": "Validation reason",
                    "type": "text"
                  },
                  {
                    "name": "type",
                    "label": "Line type",
                    "type": "text"
                  },
                  {
                    "name": "typeReason",
                    "label": "Line type unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "carrier",
                    "label": "Current carrier",
                    "type": "text"
                  },
                  {
                    "name": "carrierReason",
                    "label": "Carrier unavailable reason",
                    "type": "text"
                  },
                  {
                    "name": "ported",
                    "label": "Ported",
                    "type": "boolean"
                  },
                  {
                    "name": "portedReason",
                    "label": "Porting unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "contact",
                "label": "Contact options",
                "type": "collection",
                "spec": [
                  {
                    "name": "sms",
                    "label": "SMS support",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "supported",
                        "label": "Supported",
                        "type": "boolean"
                      },
                      {
                        "name": "assumed",
                        "label": "Assumed from line type",
                        "type": "boolean"
                      },
                      {
                        "name": "basis",
                        "label": "Evidence basis",
                        "type": "text"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "whatsapp",
                    "label": "WhatsApp registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  },
                  {
                    "name": "telegram",
                    "label": "Telegram registration",
                    "type": "collection",
                    "spec": [
                      {
                        "name": "registered",
                        "label": "Registered",
                        "type": "boolean"
                      },
                      {
                        "name": "reason",
                        "label": "Unavailable reason",
                        "type": "text"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "network",
                "label": "Network status",
                "type": "collection",
                "spec": [
                  {
                    "name": "reachable",
                    "label": "Reachable",
                    "type": "boolean"
                  },
                  {
                    "name": "reason",
                    "label": "Unavailable reason",
                    "type": "text"
                  }
                ]
              },
              {
                "name": "billing",
                "label": "Charge receipt",
                "type": "collection",
                "spec": [
                  {
                    "name": "currency",
                    "label": "Currency",
                    "type": "text"
                  },
                  {
                    "name": "amount",
                    "label": "Billed amount",
                    "type": "text"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": 7,
      "module": "google-sheets:makeAPICall",
      "version": 2,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "headers": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "spreadsheets/{{1.__SPREADSHEET_ID__}}/values/QuietPassResults!A:Q:append",
        "method": "POST",
        "qs": [
          {
            "key": "valueInputOption",
            "value": "RAW"
          },
          {
            "key": "insertDataOption",
            "value": "INSERT_ROWS"
          }
        ],
        "body": "{\"majorDimension\":\"ROWS\",\"values\":[[\"{{escapeJSON(if(1.`0` = null; emptystring; 1.`0`))}}\",\"{{escapeJSON(if(1.`3` = null; emptystring; 1.`3`))}}\",\"{{escapeJSON(if(6.id = null; emptystring; 6.id))}}\",\"{{escapeJSON(if(6.result.requestId = null; emptystring; 6.result.requestId))}}\",\"{{escapeJSON(if(6.result.number.e164 = null; emptystring; 6.result.number.e164))}}\",\"{{escapeJSON(if(6.result.number.country = null; emptystring; 6.result.number.country))}}\",\"{{escapeJSON(if(6.result.number.type = null; emptystring; 6.result.number.type))}}\",\"{{escapeJSON(if(6.result.number.carrier = null; emptystring; 6.result.number.carrier))}}\",\"{{if(6.result.contact.sms.supported = null; emptystring; 6.result.contact.sms.supported)}}\",\"{{escapeJSON(if(6.result.contact.sms.basis = null; emptystring; 6.result.contact.sms.basis))}}\",\"{{if(6.result.contact.whatsapp.registered = null; emptystring; 6.result.contact.whatsapp.registered)}}\",\"{{if(6.result.contact.telegram.registered = null; emptystring; 6.result.contact.telegram.registered)}}\",\"{{if(6.result.network.reachable = null; emptystring; 6.result.network.reachable)}}\",\"{{escapeJSON(if(6.result.preparedAt = null; emptystring; 6.result.preparedAt))}}\",\"{{escapeJSON(if(6.state = null; emptystring; 6.state))}}\",\"{{escapeJSON(if(6.chargedAmount = null; emptystring; 6.chargedAmount))}}\",\"{{escapeJSON(if(6.result.billing.currency = null; emptystring; 6.result.billing.currency))}}\"]]}"
      },
      "metadata": {
        "designer": {
          "x": 1800,
          "y": 0,
          "name": "Append a receipt by immutable record ID and source revision"
        }
      },
      "filter": {
        "name": "Only a settled retained result may be written",
        "conditions": [
          [
            {
              "a": "{{6.state}}",
              "o": "text:equal",
              "b": "settled"
            },
            {
              "a": "{{6.resultState}}",
              "o": "text:equal",
              "b": "settled"
            },
            {
              "a": "{{6.result.requestId}}",
              "o": "exist"
            }
          ]
        ]
      }
    }
  ],
  "metadata": {
    "instant": false,
    "version": 1,
    "scenario": {
      "roundtrips": 1,
      "maxErrors": 3,
      "autoCommit": true,
      "autoCommitTriggerLast": true,
      "sequential": true,
      "slots": null,
      "confidential": false,
      "dataloss": false,
      "dlq": true,
      "freshVariables": false
    },
    "designer": {
      "orphans": []
    },
    "zone": "eu1.make.com",
    "notes": []
  }
}
