{ "name": "Integration Google Sheets", "flow": [ { "id": 1, "module": "google-sheets:filterRows", "version": 2, "parameters": { "__IMTCONN__": 1010454 }, "mapper": { "from": "drive", "filter": [ [ { "a": "G", "b": "Publicar!", "o": "text:equal" } ] ], "sheetId": "Publicações", "sortOrder": "asc", "spreadsheetId": "1uiE7tpukE9BoE5FYoLIE5bszE3uEjNuH_Q4UL9xOdKQ", "tableFirstRow": "A1:CZ1", "includesHeaders": true, "valueRenderOption": "FORMATTED_VALUE", "dateTimeRenderOption": "FORMATTED_STRING" }, "metadata": { "designer": { "x": -10, "y": 0 }, "restore": { "expect": { "from": { "label": "Select from My Drive" }, "orderBy": { "mode": "chose" }, "sheetId": { "mode": "chose", "label": "Publicações" }, "sortOrder": { "mode": "chose", "label": "Ascending" }, "spreadsheetId": { "mode": "chose", "label": "Controle Rede Social" }, "tableFirstRow": { "label": "A-CZ" }, "includesHeaders": { "mode": "chose", "label": "Yes" }, "valueRenderOption": { "mode": "chose", "label": "Formatted value" }, "dateTimeRenderOption": { "mode": "chose", "label": "Formatted string" } }, "parameters": { "__IMTCONN__": { "data": { "scoped": "true", "connection": "google" }, "label": "My Google connection (seu@email.com)" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:google", "label": "Connection", "required": true } ], "expect": [ { "name": "from", "type": "select", "label": "Search Method", "required": true, "validate": { "enum": [ "drive", "share" ] } }, { "name": "valueRenderOption", "type": "select", "label": "Value render option", "validate": { "enum": [ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] } }, { "name": "dateTimeRenderOption", "type": "select", "label": "Date and time render option", "validate": { "enum": [ "SERIAL_NUMBER", "FORMATTED_STRING" ] } }, { "name": "limit", "type": "uinteger", "label": "Limit" }, { "name": "spreadsheetId", "type": "select", "label": "Spreadsheet ID", "required": true }, { "name": "sheetId", "type": "select", "label": "Sheet Name", "required": true }, { "name": "includesHeaders", "type": "select", "label": "Table contains headers", "required": true, "validate": { "enum": [ true, false ] } }, { "name": "tableFirstRow", "type": "select", "label": "Column range", "required": true, "validate": { "enum": [ "A1:Z1", "A1:BZ1", "A1:CZ1", "A1:DZ1", "A1:MZ1", "A1:ZZ1", "A1:AZZ1", "A1:BZZ1", "A1:CZZ1", "A1:DZZ1", "A1:MZZ1", "A1:ZZZ1" ] } }, { "name": "filter", "type": "filter", "label": "Filter", "options": "rpc://google-sheets/2/rpcGetFilterKeys?includesHeaders=true" }, { "name": "orderBy", "type": "select", "label": "Order by" }, { "name": "sortOrder", "type": "select", "label": "Sort order", "validate": { "enum": [ "asc", "desc" ] } } ], "interface": [ { "name": "__IMTLENGTH__", "type": "uinteger", "label": "Total number of bundles" }, { "name": "__IMTINDEX__", "type": "uinteger", "label": "Bundle order position" }, { "name": "__ROW_NUMBER__", "type": "number", "label": "Row number" }, { "name": "__SPREADSHEET_ID__", "type": "text", "label": "Spreadsheet ID" }, { "name": "__SHEET__", "type": "text", "label": "Sheet" }, { "name": "0", "type": "text", "label": "id (A)" }, { "name": "1", "type": "text", "label": "Rede (B)" }, { "name": "2", "type": "text", "label": "URL (C)" }, { "name": "3", "type": "text", "label": "IA (D)" }, { "name": "4", "type": "text", "label": "Data Programada (E)" }, { "name": "5", "type": "text", "label": "Responsável (F)" }, { "name": "6", "type": "text", "label": "Status (G)" }, { "name": "7", "type": "text", "label": "Data Publicação (H)" }, { "name": "8", "type": "text", "label": "Acompanhamento (não preencher) (I)" }, { "name": "9", "type": "text", "label": "Título Thumbnail (J)" }, { "name": "10", "type": "text", "label": "Título Vídeo (K)" }, { "name": "11", "type": "text", "label": "Descrição (L)" }, { "name": "12", "type": "text", "label": "URL Thumb (M)" }, { "name": "13", "type": "text", "label": "Disponível 1 (N)" }, { "name": "14", "type": "text", "label": "Disponível 2 (O)" }, { "name": "15", "type": "text", "label": "Disponível 3 (P)" }, { "name": "16", "type": "text", "label": "(Q)" }, { "name": "17", "type": "text", "label": "(R)" }, { "name": "18", "type": "text", "label": "(S)" }, { "name": "19", "type": "text", "label": "(T)" }, { "name": "20", "type": "text", "label": "(U)" }, { "name": "21", "type": "text", "label": "(V)" }, { "name": "22", "type": "text", "label": "(W)" }, { "name": "23", "type": "text", "label": "(X)" }, { "name": "24", "type": "text", "label": "(Y)" }, { "name": "25", "type": "text", "label": "(Z)" }, { "name": "26", "type": "text", "label": "(AA)" }, { "name": "27", "type": "text", "label": "(AB)" }, { "name": "28", "type": "text", "label": "(AC)" }, { "name": "29", "type": "text", "label": "(AD)" }, { "name": "30", "type": "text", "label": "(AE)" }, { "name": "31", "type": "text", "label": "(AF)" }, { "name": "32", "type": "text", "label": "(AG)" }, { "name": "33", "type": "text", "label": "(AH)" }, { "name": "34", "type": "text", "label": "(AI)" }, { "name": "35", "type": "text", "label": "(AJ)" }, { "name": "36", "type": "text", "label": "(AK)" }, { "name": "37", "type": "text", "label": "(AL)" }, { "name": "38", "type": "text", "label": "(AM)" }, { "name": "39", "type": "text", "label": "(AN)" }, { "name": "40", "type": "text", "label": "(AO)" }, { "name": "41", "type": "text", "label": "(AP)" }, { "name": "42", "type": "text", "label": "(AQ)" }, { "name": "43", "type": "text", "label": "(AR)" }, { "name": "44", "type": "text", "label": "(AS)" }, { "name": "45", "type": "text", "label": "(AT)" }, { "name": "46", "type": "text", "label": "(AU)" }, { "name": "47", "type": "text", "label": "(AV)" }, { "name": "48", "type": "text", "label": "(AW)" }, { "name": "49", "type": "text", "label": "(AX)" }, { "name": "50", "type": "text", "label": "(AY)" }, { "name": "51", "type": "text", "label": "(AZ)" }, { "name": "52", "type": "text", "label": "(BA)" }, { "name": "53", "type": "text", "label": "(BB)" }, { "name": "54", "type": "text", "label": "(BC)" }, { "name": "55", "type": "text", "label": "(BD)" }, { "name": "56", "type": "text", "label": "(BE)" }, { "name": "57", "type": "text", "label": "(BF)" }, { "name": "58", "type": "text", "label": "(BG)" }, { "name": "59", "type": "text", "label": "(BH)" }, { "name": "60", "type": "text", "label": "(BI)" }, { "name": "61", "type": "text", "label": "(BJ)" }, { "name": "62", "type": "text", "label": "(BK)" }, { "name": "63", "type": "text", "label": "(BL)" }, { "name": "64", "type": "text", "label": "(BM)" }, { "name": "65", "type": "text", "label": "(BN)" }, { "name": "66", "type": "text", "label": "(BO)" }, { "name": "67", "type": "text", "label": "(BP)" }, { "name": "68", "type": "text", "label": "(BQ)" }, { "name": "69", "type": "text", "label": "(BR)" }, { "name": "70", "type": "text", "label": "(BS)" }, { "name": "71", "type": "text", "label": "(BT)" }, { "name": "72", "type": "text", "label": "(BU)" }, { "name": "73", "type": "text", "label": "(BV)" }, { "name": "74", "type": "text", "label": "(BW)" }, { "name": "75", "type": "text", "label": "(BX)" }, { "name": "76", "type": "text", "label": "(BY)" }, { "name": "77", "type": "text", "label": "(BZ)" }, { "name": "78", "type": "text", "label": "(CA)" }, { "name": "79", "type": "text", "label": "(CB)" }, { "name": "80", "type": "text", "label": "(CC)" }, { "name": "81", "type": "text", "label": "(CD)" }, { "name": "82", "type": "text", "label": "(CE)" }, { "name": "83", "type": "text", "label": "(CF)" }, { "name": "84", "type": "text", "label": "(CG)" }, { "name": "85", "type": "text", "label": "(CH)" }, { "name": "86", "type": "text", "label": "(CI)" }, { "name": "87", "type": "text", "label": "(CJ)" }, { "name": "88", "type": "text", "label": "(CK)" }, { "name": "89", "type": "text", "label": "(CL)" }, { "name": "90", "type": "text", "label": "(CM)" }, { "name": "91", "type": "text", "label": "(CN)" }, { "name": "92", "type": "text", "label": "(CO)" }, { "name": "93", "type": "text", "label": "(CP)" }, { "name": "94", "type": "text", "label": "(CQ)" }, { "name": "95", "type": "text", "label": "(CR)" }, { "name": "96", "type": "text", "label": "(CS)" }, { "name": "97", "type": "text", "label": "(CT)" }, { "name": "98", "type": "text", "label": "(CU)" }, { "name": "99", "type": "text", "label": "(CV)" }, { "name": "100", "type": "text", "label": "(CW)" }, { "name": "101", "type": "text", "label": "(CX)" }, { "name": "102", "type": "text", "label": "(CY)" }, { "name": "103", "type": "text", "label": "(CZ)" } ] } }, { "id": 2, "module": "youtube:updateVideo", "version": 4, "parameters": { "__IMTCONN__": 1021229 }, "mapper": { "title": "{{1.`10`}}", "videoId": "{{substring(1.`2`; 17; 50)}}", "description": "{{1.`11`}}", "privacyStatus": "public", "selfDeclaredMadeForKids": false }, "metadata": { "designer": { "x": 261, "y": 1 }, "restore": { "expect": { "tags": { "mode": "chose" }, "license": { "mode": "chose", "label": "Empty" }, "categoryId": { "mode": "chose", "label": "Empty" }, "embeddable": { "mode": "chose" }, "privacyStatus": { "mode": "chose", "label": "Public" }, "containsSyntheticMedia": { "mode": "chose" }, "selfDeclaredMadeForKids": { "mode": "chose" } }, "parameters": { "__IMTCONN__": { "data": { "scoped": "true", "connection": "youtube" }, "label": "YouTube" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:youtube", "label": "Connection", "required": true } ], "expect": [ { "name": "videoId", "type": "text", "label": "Video ID", "required": true }, { "name": "title", "type": "text", "label": "Title", "validate": { "max": 100 } }, { "name": "description", "type": "text", "label": "Description", "validate": { "max": 5000 } }, { "name": "categoryId", "type": "select", "label": "Category ID" }, { "name": "privacyStatus", "type": "select", "label": "Privacy Status and Scheduling", "validate": { "enum": [ "private", "unlisted", "public" ] } }, { "name": "selfDeclaredMadeForKids", "type": "boolean", "label": "The video is made for kids" }, { "name": "containsSyntheticMedia", "type": "boolean", "label": "The video contains altered/synthetic media" }, { "name": "tags", "spec": { "name": "value", "type": "text", "label": "Tag", "required": true }, "type": "array", "label": "Tags", "validate": { "maxItems": 500 } }, { "name": "recordingDate", "type": "date", "label": "Recording Date" }, { "name": "license", "type": "select", "label": "License", "validate": { "enum": [ "youtube", "creativeCommon" ] } }, { "name": "embeddable", "type": "boolean", "label": "Allow Embedding" } ] } }, { "id": 11, "module": "google-drive:searchForFilesFolders", "version": 4, "parameters": { "__IMTCONN__": 1049991 }, "mapper": { "select": "list", "retrieve": "file", "searchType": "title", "limit": "10", "destination": "drive", "folderId": "/1rHGvXl_inlcFEa2gvWijRPWwRXAeN-WX", "query": "Thumb{{1.`0`}}.png", "operator": "=" }, "metadata": { "designer": { "x": 678, "y": 5 }, "restore": { "parameters": { "__IMTCONN__": { "label": "Google Restricted connection (seu@email.com)", "data": { "scoped": "true", "connection": "google-restricted" } } }, "expect": { "select": { "label": "Select from the list" }, "retrieve": { "label": "Files" }, "searchType": { "label": "Search within file/folder names" }, "destination": { "label": "My Drive" }, "folderId": { "mode": "chose", "path": [ "Thumbs" ] }, "operator": { "label": "Search for exact term" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:google-restricted", "label": "Connection", "required": true } ], "expect": [ { "type": "hidden" }, { "name": "select", "type": "select", "label": "Select the Method", "required": true, "validate": { "enum": [ "map", "list" ] } }, { "name": "retrieve", "type": "select", "label": "Retrieve", "required": true, "validate": { "enum": [ "file", "folder", "file_folder" ] } }, { "name": "searchType", "type": "select", "label": "Search", "validate": { "enum": [ "title", "fulltext", "custom" ] } }, { "name": "limit", "type": "uinteger", "label": "Limit" }, { "name": "destination", "type": "select", "label": "Choose a Drive", "required": true, "validate": { "enum": [ "drive", "share", "team" ] } }, { "name": "folderId", "type": "folder", "label": "Choose a Folder" }, { "name": "query", "type": "text", "label": "Query", "required": true }, { "name": "operator", "type": "select", "label": "Search options", "required": true, "validate": { "enum": [ "=", "contains" ] } } ] } }, { "id": 12, "module": "google-drive:getAFile", "version": 4, "parameters": { "__IMTCONN__": 1049991 }, "mapper": { "select": "map", "formatDocuments": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "formatSpreadsheets": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "formatPresentations": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "formatDrawings": "image/jpeg", "file": "{{11.id}}" }, "metadata": { "designer": { "x": 1005, "y": -6 }, "restore": { "parameters": { "__IMTCONN__": { "label": "Google Restricted connection (seu@email.com)", "data": { "scoped": "true", "connection": "google-restricted" } } }, "expect": { "select": { "label": "Enter manually" }, "formatDocuments": { "label": "MS Word Document" }, "formatSpreadsheets": { "label": "MS Excel" }, "formatPresentations": { "label": "MS PowerPoint" }, "formatDrawings": { "label": "JPEG" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:google-restricted", "label": "Connection", "required": true } ], "expect": [ { "type": "hidden" }, { "name": "select", "type": "select", "label": "Enter a File ID", "required": true, "validate": { "enum": [ "map", "value" ] } }, { "name": "formatDocuments", "type": "select", "label": "Convert Google Documents Files to Format", "required": true, "validate": { "enum": [ "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/pdf", "application/vnd.oasis.opendocument.text", "text/html", "text/plain", "application/rtf", "text/markdown" ] } }, { "name": "formatSpreadsheets", "type": "select", "label": "Convert Google Spreadsheets Files to Format", "required": true, "validate": { "enum": [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/x-vnd.oasis.opendocument.spreadsheet", "application/pdf", "text/csv" ] } }, { "name": "formatPresentations", "type": "select", "label": "Convert Google Slides Files to Format", "required": true, "validate": { "enum": [ "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/pdf" ] } }, { "name": "formatDrawings", "type": "select", "label": "Convert Google Drawings Files to Format", "required": true, "validate": { "enum": [ "image/jpeg", "image/png", "image/svg+xml", "application/pdf" ] } }, { "name": "file", "type": "text", "label": "File ID", "required": true } ] } }, { "id": 13, "module": "youtube:setVideoThumbnail", "version": 4, "parameters": { "__IMTCONN__": 1021229 }, "mapper": { "videoId": "{{2.id}}", "thumbnailData": "{{12.data}}" }, "metadata": { "designer": { "x": 1310, "y": -8 }, "restore": { "parameters": { "__IMTCONN__": { "label": "YouTube", "data": { "scoped": "true", "connection": "youtube" } } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:youtube", "label": "Connection", "required": true } ], "expect": [ { "name": "videoId", "type": "text", "label": "Video ID", "required": true }, { "name": "thumbnailData", "type": "buffer", "label": "Thumbnail Data", "required": true } ] } }, { "id": 3, "module": "google-sheets:updateRow", "version": 2, "parameters": { "__IMTCONN__": 1010454 }, "mapper": { "from": "drive", "mode": "select", "values": { "6": "Publicado" }, "sheetId": "Publicações", "rowNumber": "{{1.`__ROW_NUMBER__`}}", "spreadsheetId": "/1uiE7tpukE9BoE5FYoLIE5bszE3uEjNuH_Q4UL9xOdKQ", "includesHeaders": true, "valueInputOption": "USER_ENTERED" }, "metadata": { "designer": { "x": 1834, "y": -3 }, "restore": { "expect": { "from": { "label": "My Drive" }, "mode": { "label": "Search by path" }, "sheetId": { "label": "Publicações" }, "spreadsheetId": { "path": [ "Controle Rede Social" ] }, "includesHeaders": { "label": "Yes", "nested": [ { "name": "values", "spec": [ { "name": "0", "type": "text", "label": "id (A)" }, { "name": "1", "type": "text", "label": "Rede (B)" }, { "name": "2", "type": "text", "label": "URL (C)" }, { "name": "3", "type": "text", "label": "IA (D)" }, { "name": "4", "type": "text", "label": "Data Programada (E)" }, { "name": "5", "type": "text", "label": "Responsável (F)" }, { "name": "6", "type": "text", "label": "Status (G)" }, { "name": "7", "type": "text", "label": "Data Publicação (H)" }, { "name": "8", "type": "text", "label": "Acompanhamento (não preencher) (I)" }, { "name": "9", "type": "text", "label": "Título Thumbnail (J)" }, { "name": "10", "type": "text", "label": "Título Vídeo (K)" }, { "name": "11", "type": "text", "label": "Descrição (L)" }, { "name": "12", "type": "text", "label": "URL Thumb (M)" }, { "name": "13", "type": "text", "label": "Disponível 1 (N)" }, { "name": "14", "type": "text", "label": "Disponível 2 (O)" }, { "name": "15", "type": "text", "label": "Disponível 3 (P)" }, { "name": "16", "type": "text", "label": "(Q)" }, { "name": "17", "type": "text", "label": "(R)" }, { "name": "18", "type": "text", "label": "(S)" }, { "name": "19", "type": "text", "label": "(T)" }, { "name": "20", "type": "text", "label": "(U)" }, { "name": "21", "type": "text", "label": "(V)" }, { "name": "22", "type": "text", "label": "(W)" }, { "name": "23", "type": "text", "label": "(X)" }, { "name": "24", "type": "text", "label": "(Y)" }, { "name": "25", "type": "text", "label": "(Z)" }, { "name": "26", "type": "text", "label": "(AA)" }, { "name": "27", "type": "text", "label": "(AB)" }, { "name": "28", "type": "text", "label": "(AC)" }, { "name": "29", "type": "text", "label": "(AD)" }, { "name": "30", "type": "text", "label": "(AE)" }, { "name": "31", "type": "text", "label": "(AF)" }, { "name": "32", "type": "text", "label": "(AG)" }, { "name": "33", "type": "text", "label": "(AH)" } ], "type": "collection", "label": "Values" } ] }, "valueInputOption": { "mode": "chose", "label": "User entered" } }, "parameters": { "__IMTCONN__": { "data": { "scoped": "true", "connection": "google" }, "label": "My Google connection (seu@email.com)" } } }, "parameters": [ { "name": "__IMTCONN__", "type": "account:google", "label": "Connection", "required": true } ], "expect": [ { "name": "mode", "type": "select", "label": "Search Method", "required": true, "validate": { "enum": [ "select", "fromAll", "map" ] } }, { "name": "valueInputOption", "type": "select", "label": "Value input option", "validate": { "enum": [ "USER_ENTERED", "RAW" ] } }, { "name": "from", "type": "select", "label": "Drive", "required": true, "validate": { "enum": [ "drive", "share", "team" ] } }, { "name": "spreadsheetId", "type": "file", "label": "Spreadsheet ID", "required": true }, { "name": "sheetId", "type": "select", "label": "Sheet Name", "required": true }, { "name": "rowNumber", "type": "uinteger", "label": "Row number", "required": true }, { "name": "includesHeaders", "type": "select", "label": "Table contains headers", "required": true, "validate": { "enum": [ true, false ] } }, { "name": "values", "spec": [ { "name": "0", "type": "text", "label": "id (A)" }, { "name": "1", "type": "text", "label": "Rede (B)" }, { "name": "2", "type": "text", "label": "URL (C)" }, { "name": "3", "type": "text", "label": "IA (D)" }, { "name": "4", "type": "text", "label": "Data Programada (E)" }, { "name": "5", "type": "text", "label": "Responsável (F)" }, { "name": "6", "type": "text", "label": "Status (G)" }, { "name": "7", "type": "text", "label": "Data Publicação (H)" }, { "name": "8", "type": "text", "label": "Acompanhamento (não preencher) (I)" }, { "name": "9", "type": "text", "label": "Título Thumbnail (J)" }, { "name": "10", "type": "text", "label": "Título Vídeo (K)" }, { "name": "11", "type": "text", "label": "Descrição (L)" }, { "name": "12", "type": "text", "label": "URL Thumb (M)" }, { "name": "13", "type": "text", "label": "Disponível 1 (N)" }, { "name": "14", "type": "text", "label": "Disponível 2 (O)" }, { "name": "15", "type": "text", "label": "Disponível 3 (P)" }, { "name": "16", "type": "text", "label": "(Q)" }, { "name": "17", "type": "text", "label": "(R)" }, { "name": "18", "type": "text", "label": "(S)" }, { "name": "19", "type": "text", "label": "(T)" }, { "name": "20", "type": "text", "label": "(U)" }, { "name": "21", "type": "text", "label": "(V)" }, { "name": "22", "type": "text", "label": "(W)" }, { "name": "23", "type": "text", "label": "(X)" }, { "name": "24", "type": "text", "label": "(Y)" }, { "name": "25", "type": "text", "label": "(Z)" }, { "name": "26", "type": "text", "label": "(AA)" }, { "name": "27", "type": "text", "label": "(AB)" }, { "name": "28", "type": "text", "label": "(AC)" }, { "name": "29", "type": "text", "label": "(AD)" }, { "name": "30", "type": "text", "label": "(AE)" }, { "name": "31", "type": "text", "label": "(AF)" }, { "name": "32", "type": "text", "label": "(AG)" }, { "name": "33", "type": "text", "label": "(AH)" } ], "type": "collection", "label": "Values" } ] } } ], "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": "us2.make.com", "notes": [] } }