This workflow follows the Google Sheets → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Fluxo A - Pull API (Polling)",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 1
}
]
}
},
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1,
"position": [
250,
300
],
"id": "schedule-trigger-1"
},
{
"parameters": {
"url": "http://localhost:5000/api/pedidos",
"method": "GET",
"options": {}
},
"name": "HTTP Request - Consultar API",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
450,
300
],
"id": "http-request-1"
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{ $json.length }}",
"operation": "larger",
"value2": 0
}
]
}
},
"name": "IF - Tem Pedidos?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
650,
300
],
"id": "if-node-1"
},
{
"parameters": {
"operation": "append",
"documentId": "SEU_GOOGLE_SHEET_ID",
"sheetName": "Pedidos",
"columns": {
"mappings": [
{
"column": "Cliente",
"value": "={{ $json.cliente }}"
},
{
"column": "Pedido",
"value": "={{ $json.pedido }}"
},
{
"column": "Status",
"value": "={{ $json.status }}"
},
{
"column": "Data/Hora",
"value": "={{ $json.data_hora }}"
},
{
"column": "Tipo Fluxo",
"value": "Pull/API"
}
]
}
},
"name": "Google Sheets - Salvar",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4,
"position": [
850,
200
],
"id": "google-sheets-1",
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"message": "=Polling executado \u00e0s {{ $now.toFormat('HH:mm:ss') }} - Nenhum pedido encontrado (execu\u00e7\u00e3o vazia)"
},
"name": "Log - Execu\u00e7\u00e3o Vazia",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
850,
400
],
"id": "noop-1"
}
],
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "HTTP Request - Consultar API",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request - Consultar API": {
"main": [
[
{
"node": "IF - Tem Pedidos?",
"type": "main",
"index": 0
}
]
]
},
"IF - Tem Pedidos?": {
"main": [
[
{
"node": "Google Sheets - Salvar",
"type": "main",
"index": 0
}
],
[
{
"node": "Log - Execu\u00e7\u00e3o Vazia",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleSheetsOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Fluxo A - Pull API (Polling). Uses httpRequest, googleSheets. Scheduled trigger; 5 nodes.
Source: https://github.com/Leandro-Frota/automacaoDueloArquitetural/blob/f87d4a2367485ac4c03f2290f86311668f2dcba1/n8n_fluxo_a_pull.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow automatically monitors and tracks trending topics across multiple platforms and websites. It helps content creators and marketers stay ahead of the curve by identifying emerging trends b
This workflow automatically generates comprehensive property market reports by scraping real estate listings and market data from multiple sources. It helps real estate professionals save time and pro
This cutting-edge n8n automation is a sophisticated job market intelligence tool designed to transform freelance job tracking into a seamless, data-driven process. By intelligently connecting Apify, d
This cutting-edge n8n automation is a powerful market research tool designed to continuously monitor and capture User-Generated Content (UGC) opportunities on Fiverr. By intelligently scraping, parsin
Fetch Squarespace Blog & Event Collections to Google Sheets. Uses scheduleTrigger, manualTrigger, httpRequest, stickyNote. Scheduled trigger; 7 nodes.