{
    "name": "Add Google Results to Airtable",
    "flow": [
        {
            "id": 5,
            "module": "csv:ParseCSV",
            "version": 1,
            "parameters": {
                "colCount": null,
                "csvContainsHeaders": true,
                "delimiterType": "other",
                "relax": false,
                "delimiter": ","
            },
            "mapper": {
                "csv": "city\n\"San Jose, CA\"\n\"Tampa, FL\"\n\"Boise, ID\"\n\"Austin, TX\"\n\"Charlotte, NC\""
            },
            "metadata": {
                "designer": {
                    "x": -265,
                    "y": -5
                },
                "restore": {
                    "parameters": {
                        "delimiterType": {
                            "label": "Other"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "colCount",
                        "type": "number",
                        "label": "Number of columns"
                    },
                    {
                        "name": "csvContainsHeaders",
                        "type": "boolean",
                        "label": "CSV contains headers",
                        "required": true
                    },
                    {
                        "name": "delimiterType",
                        "type": "select",
                        "label": "Delimiter",
                        "required": true,
                        "validate": {
                            "enum": [
                                ",",
                                "\t",
                                "other"
                            ]
                        }
                    },
                    {
                        "name": "relax",
                        "type": "boolean",
                        "label": "Preserve quotes inside unquoted field",
                        "required": true
                    },
                    {
                        "name": "delimiter",
                        "type": "text",
                        "label": "Delimiter character",
                        "validate": {
                            "max": 1,
                            "min": 1
                        },
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "csv",
                        "type": "text",
                        "label": "CSV",
                        "required": true
                    }
                ],
                "interface": [
                    {
                        "name": "col1",
                        "label": "city",
                        "type": "text"
                    }
                ]
            }
        },
        {
            "id": 1,
            "module": "serpapi:searchGoogleMaps",
            "version": 1,
            "parameters": {},
            "mapper": {
                "q": "car dealerships in {{5.col1}}",
                "type": "search"
            },
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 0
                },
                "restore": {},
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:serpapi",
                        "label": "Connection",
                        "required": true
                    },
                    {
                        "name": "pagination_limit",
                        "type": "number",
                        "label": "Pagination Limit",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "q",
                        "type": "text",
                        "label": "`q` Search Query"
                    },
                    {
                        "name": "type",
                        "type": "select",
                        "label": "`type` Type of search",
                        "required": true,
                        "validate": {
                            "enum": [
                                "search",
                                "place"
                            ]
                        }
                    },
                    {
                        "name": "ll",
                        "type": "text",
                        "label": "`ll` GPS Coordinates"
                    },
                    {
                        "name": "google_domain",
                        "type": "select",
                        "label": "`google_domain` Domain",
                        "validate": {
                            "enum": [
                                "google.com",
                                "google.ad",
                                "google.ae",
                                "google.com.af",
                                "google.com.ag",
                                "google.com.ai",
                                "google.al",
                                "google.am",
                                "google.co.ao",
                                "google.com.ar",
                                "google.as",
                                "google.at",
                                "google.com.au",
                                "google.az",
                                "google.ba",
                                "google.com.bd",
                                "google.be",
                                "google.bf",
                                "google.bg",
                                "google.com.bh",
                                "google.bi",
                                "google.bj",
                                "google.com.bn",
                                "google.com.bo",
                                "google.com.br",
                                "google.bs",
                                "google.bt",
                                "google.co.bw",
                                "google.by",
                                "google.com.bz",
                                "google.ca",
                                "google.com.kh",
                                "google.cd",
                                "google.cf",
                                "google.cg",
                                "google.ch",
                                "google.ci",
                                "google.co.ck",
                                "google.cl",
                                "google.cm",
                                "google.com.co",
                                "google.co.cr",
                                "google.com.cu",
                                "google.cv",
                                "google.com.cy",
                                "google.cz",
                                "google.de",
                                "google.dj",
                                "google.dk",
                                "google.dm",
                                "google.com.do",
                                "google.dz",
                                "google.com.ec",
                                "google.ee",
                                "google.com.eg",
                                "google.es",
                                "google.com.et",
                                "google.fi",
                                "google.fm",
                                "google.com.fj",
                                "google.fr",
                                "google.ga",
                                "google.ge",
                                "google.com.gh",
                                "google.com.gi",
                                "google.gl",
                                "google.gm",
                                "google.gp",
                                "google.gr",
                                "google.com.gt",
                                "google.gy",
                                "google.com.hk",
                                "google.hn",
                                "google.hr",
                                "google.ht",
                                "google.hu",
                                "google.co.id",
                                "google.iq",
                                "google.ie",
                                "google.co.il",
                                "google.co.in",
                                "google.is",
                                "google.it",
                                "google.com.jm",
                                "google.jo",
                                "google.co.jp",
                                "google.co.ke",
                                "google.ki",
                                "google.kg",
                                "google.co.kr",
                                "google.com.kw",
                                "google.kz",
                                "google.la",
                                "google.com.lb",
                                "google.li",
                                "google.lk",
                                "google.co.ls",
                                "google.lt",
                                "google.lu",
                                "google.lv",
                                "google.com.ly",
                                "google.co.ma",
                                "google.md",
                                "google.mg",
                                "google.mk",
                                "google.ml",
                                "google.com.mm",
                                "google.mn",
                                "google.ms",
                                "google.com.mt",
                                "google.mu",
                                "google.mv",
                                "google.mw",
                                "google.com.mx",
                                "google.com.my",
                                "google.co.mz",
                                "google.com.na",
                                "google.ne",
                                "google.com.ng",
                                "google.com.ni",
                                "google.nl",
                                "google.no",
                                "google.com.np",
                                "google.nr",
                                "google.nu",
                                "google.co.nz",
                                "google.com.om",
                                "google.com.pk",
                                "google.com.pa",
                                "google.com.pe",
                                "google.com.ph",
                                "google.pl",
                                "google.com.pg",
                                "google.com.pr",
                                "google.ps",
                                "google.pt",
                                "google.com.py",
                                "google.com.qa",
                                "google.ro",
                                "google.rs",
                                "google.ru",
                                "google.rw",
                                "google.com.sa",
                                "google.com.sb",
                                "google.sc",
                                "google.se",
                                "google.com.sg",
                                "google.sh",
                                "google.si",
                                "google.sk",
                                "google.com.sl",
                                "google.sn",
                                "google.sm",
                                "google.so",
                                "google.sr",
                                "google.com.sv",
                                "google.td",
                                "google.tg",
                                "google.co.th",
                                "google.com.tj",
                                "google.tk",
                                "google.tl",
                                "google.tm",
                                "google.to",
                                "google.tn",
                                "google.com.tr",
                                "google.tt",
                                "google.com.tw",
                                "google.co.tz",
                                "google.com.ua",
                                "google.co.ug",
                                "google.co.uk",
                                "google.com.uy",
                                "google.co.uz",
                                "google.com.vc",
                                "google.co.ve",
                                "google.vg",
                                "google.co.vi",
                                "google.com.vn",
                                "google.vu",
                                "google.ws",
                                "google.co.za",
                                "google.co.zm",
                                "google.co.zw"
                            ]
                        }
                    },
                    {
                        "name": "hl",
                        "type": "select",
                        "label": "`hl` Language",
                        "validate": {
                            "enum": [
                                "af",
                                "sq",
                                "am",
                                "ar",
                                "hy",
                                "az",
                                "eu",
                                "be",
                                "bn",
                                "bs",
                                "bg",
                                "my",
                                "ca",
                                "zh",
                                "zh-cn",
                                "zh-hk",
                                "zh-tw",
                                "hr",
                                "cs",
                                "da",
                                "nl",
                                "en",
                                "en-au",
                                "en-gb",
                                "et",
                                "fa",
                                "fil",
                                "fi",
                                "fr",
                                "fr-ca",
                                "gl",
                                "ka",
                                "de",
                                "el",
                                "gu",
                                "iw",
                                "hi",
                                "hu",
                                "is",
                                "id",
                                "it",
                                "ja",
                                "kn",
                                "kk",
                                "km",
                                "ko",
                                "ky",
                                "lo",
                                "lv",
                                "lt",
                                "mk",
                                "ms",
                                "ml",
                                "mr",
                                "mn",
                                "ne",
                                "no",
                                "pl",
                                "pt",
                                "pt-br",
                                "pt-pt",
                                "pa",
                                "ro",
                                "ru",
                                "sr",
                                "si",
                                "sk",
                                "sl",
                                "es",
                                "es-419",
                                "sw",
                                "sv",
                                "ta",
                                "te",
                                "th",
                                "tr",
                                "uk",
                                "ur",
                                "uz",
                                "vi",
                                "zu"
                            ]
                        }
                    },
                    {
                        "name": "data",
                        "type": "text",
                        "label": "`data` Data"
                    },
                    {
                        "name": "place_id",
                        "type": "text",
                        "label": "`place_id` Place ID"
                    },
                    {
                        "name": "start",
                        "type": "number",
                        "label": "`start` Result Offset"
                    },
                    {
                        "name": "no_cache",
                        "type": "boolean",
                        "label": "`no_cache` Disable Caching"
                    },
                    {
                        "name": "async",
                        "type": "text",
                        "label": "`async` Async"
                    },
                    {
                        "name": "output",
                        "type": "text",
                        "label": "`output` Output"
                    }
                ]
            }
        },
        {
            "id": 2,
            "module": "builtin:BasicFeeder",
            "version": 1,
            "parameters": {},
            "mapper": {
                "array": "{{1.local_results}}"
            },
            "metadata": {
                "designer": {
                    "x": 300,
                    "y": 0
                },
                "restore": {
                    "expect": {
                        "array": {
                            "mode": "edit"
                        }
                    }
                },
                "expect": [
                    {
                        "mode": "edit",
                        "name": "array",
                        "spec": [],
                        "type": "array",
                        "label": "Array"
                    }
                ]
            }
        },
        {
            "id": 3,
            "module": "airtable:ActionSearchRecords",
            "version": 3,
            "parameters": {},
            "mapper": {
                "formula": "FIND(\"{{2.title}}\", {Name})",
                "maxRecords": "10",
                "useColumnId": false
            },
            "metadata": {
                "designer": {
                    "x": 600,
                    "y": 0
                },
                "restore": {},
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:airtable3,airtable2",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "base",
                        "type": "select",
                        "label": "Base",
                        "required": true
                    },
                    {
                        "name": "useColumnId",
                        "type": "boolean",
                        "label": "Use Column ID",
                        "required": true
                    },
                    {
                        "name": "table",
                        "type": "select",
                        "label": "Table",
                        "required": true
                    },
                    {
                        "name": "formula",
                        "type": "text",
                        "label": "Formula"
                    },
                    {
                        "name": "maxRecords",
                        "type": "integer",
                        "label": "Limit"
                    },
                    {
                        "name": "sort",
                        "spec": [
                            {
                                "name": "field",
                                "type": "select",
                                "label": "Field",
                                "dynamic": true,
                                "options": []
                            },
                            {
                                "name": "direction",
                                "type": "select",
                                "label": "Direction",
                                "options": [
                                    {
                                        "label": "Descending",
                                        "value": "desc"
                                    },
                                    {
                                        "label": "Ascending",
                                        "value": "asc"
                                    }
                                ]
                            }
                        ],
                        "type": "array",
                        "label": "Sort"
                    },
                    {
                        "name": "view",
                        "type": "select",
                        "label": "View"
                    },
                    {
                        "name": "fields",
                        "type": "select",
                        "label": "Output Fields",
                        "multiple": true
                    }
                ],
                "interface": [
                    {
                        "name": "__IMTLENGTH__",
                        "type": "uinteger",
                        "label": "Total number of bundles"
                    },
                    {
                        "name": "__IMTINDEX__",
                        "type": "uinteger",
                        "label": "Bundle order position"
                    },
                    {
                        "name": "id",
                        "type": "text",
                        "label": "ID"
                    },
                    {
                        "name": "createdTime",
                        "type": "date",
                        "label": "Created Time"
                    },
                    {
                        "name": "Name",
                        "type": "text",
                        "label": "Name"
                    },
                    {
                        "name": "Address",
                        "type": "text",
                        "label": "Address"
                    },
                    {
                        "name": "Phone",
                        "type": "text",
                        "label": "Phone"
                    },
                    {
                        "name": "Website",
                        "type": "text",
                        "label": "Website"
                    },
                    {
                        "name": "Review Count",
                        "type": "number",
                        "label": "Review Count"
                    },
                    {
                        "name": "Type",
                        "type": "text",
                        "label": "Type"
                    },
                    {
                        "name": "Notes",
                        "type": "text",
                        "label": "Notes",
                        "multiline": true
                    },
                    {
                        "name": "Assignee",
                        "spec": [
                            {
                                "name": "id",
                                "type": "text",
                                "label": "ID"
                            },
                            {
                                "name": "email",
                                "type": "email",
                                "label": "Email"
                            },
                            {
                                "name": "name",
                                "type": "text",
                                "label": "Name"
                            }
                        ],
                        "type": "collection",
                        "label": "Assignee"
                    },
                    {
                        "name": "Status",
                        "type": "text",
                        "label": "Status"
                    }
                ]
            }
        },
        {
            "id": 4,
            "module": "airtable:upsertRecord",
            "version": 3,
            "parameters": {},
            "mapper": {
                "recordId": "{{3.id}}",
                "typecast": false,
                "useColumnId": false
            },
            "metadata": {
                "designer": {
                    "x": 900,
                    "y": 0
                },
                "restore": {},
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:airtable3,airtable2",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "base",
                        "type": "select",
                        "label": "Base",
                        "required": true
                    },
                    {
                        "name": "typecast",
                        "type": "boolean",
                        "label": "Smart links",
                        "required": true
                    },
                    {
                        "name": "useColumnId",
                        "type": "boolean",
                        "label": "Use Column ID",
                        "required": true
                    },
                    {
                        "name": "table",
                        "type": "select",
                        "label": "Table",
                        "required": true
                    },
                    {
                        "name": "recordId",
                        "type": "text",
                        "label": "Record ID"
                    },
                    {
                        "name": "record",
                        "spec": [
                            {
                                "name": "fldcQTEcrRXJcPcC4",
                                "type": "text",
                                "label": "Name"
                            },
                            {
                                "name": "fldo4wBUoA3jdRVam",
                                "type": "number",
                                "label": "Review Count"
                            },
                            {
                                "name": "fldo4A53PGTKLRr1Q",
                                "type": "text",
                                "label": "Type"
                            },
                            {
                                "name": "fldwFuftUFpyaIwNn",
                                "type": "text",
                                "label": "Address"
                            },
                            {
                                "name": "fldE3KYfcKr1IVXIT",
                                "type": "text",
                                "label": "Website"
                            },
                            {
                                "name": "fldcLwWCLnaMiVuwZ",
                                "type": "text",
                                "label": "Phone"
                            },
                            {
                                "name": "fldSP4yrkwziADUuE",
                                "type": "text",
                                "label": "Notes"
                            },
                            {
                                "name": "fldSZ2QtDGue7gbqU",
                                "spec": [
                                    {
                                        "name": "id",
                                        "type": "text",
                                        "label": "ID"
                                    },
                                    {
                                        "name": "email",
                                        "type": "email",
                                        "label": "Email"
                                    }
                                ],
                                "type": "collection",
                                "label": "Assignee"
                            },
                            {
                                "mode": "edit",
                                "name": "fldVkkxl6utSC6aXT",
                                "type": "select",
                                "label": "Status"
                            }
                        ],
                        "type": "collection",
                        "label": "Record"
                    }
                ],
                "interface": [
                    {
                        "name": "id",
                        "type": "text",
                        "label": "ID"
                    },
                    {
                        "name": "createdTime",
                        "type": "date",
                        "label": "Created Time"
                    },
                    {
                        "name": "Name",
                        "type": "text",
                        "label": "Name"
                    },
                    {
                        "name": "Review Count",
                        "type": "number",
                        "label": "Review Count"
                    },
                    {
                        "name": "Type",
                        "type": "text",
                        "label": "Type"
                    },
                    {
                        "name": "Address",
                        "type": "text",
                        "label": "Address"
                    },
                    {
                        "name": "Website",
                        "type": "text",
                        "label": "Website"
                    },
                    {
                        "name": "Phone",
                        "type": "text",
                        "label": "Phone"
                    },
                    {
                        "name": "Notes",
                        "type": "text",
                        "label": "Notes",
                        "multiline": true
                    },
                    {
                        "name": "Assignee",
                        "spec": [
                            {
                                "name": "id",
                                "type": "text",
                                "label": "ID"
                            },
                            {
                                "name": "email",
                                "type": "email",
                                "label": "Email"
                            },
                            {
                                "name": "name",
                                "type": "text",
                                "label": "Name"
                            }
                        ],
                        "type": "collection",
                        "label": "Assignee"
                    },
                    {
                        "name": "Status",
                        "type": "text",
                        "label": "Status"
                    }
                ]
            }
        }
    ],
    "metadata": {
        "instant": false,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "slots": null,
            "confidential": false,
            "dataloss": false,
            "dlq": false,
            "freshVariables": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "eu2.make.com"
    }
}
