Buscar Clima
Workflow manual com HTTP GET - busca dados de uma API externa usando parâmetros fornecidos pelo usuário
manual http get weather external-api
O que está incluído
| Campo | Valor |
|---|---|
| Nome | Buscar Clima |
| Tipo | Workflow |
| Trigger | manual |
| Etapas | 1 |
| Entradas | 1 |
JSON Completo
Clique para expandir
{
"description": "Manual workflow with HTTP GET — fetches data from an external API using user-provided parameters",
"tags": [
"manual",
"http",
"get",
"weather",
"external-api"
],
"document": {
"name": "Fetch Weather",
"enabled": true,
"log_level": "info",
"trigger": {
"type": "manual"
},
"workflowInput": [
{
"name": "city",
"description": "City name",
"schema": {
"type": "string",
"required": true
}
}
],
"steps": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/network/http/request/send",
"actions/network/http/request/send": {
"method": "GET",
"url": {
"expr": "\"https://wttr.in/\"+city+\"?format=j1\"",
"onFailure": "throw",
"resultType": "any"
},
"headers": [],
"returnBuffer": false,
"cache": false
}
}
}
],
"returnExpression": {
"expr": "step(0).data"
}
}
}
Como Importar
- Baixe o arquivo ZIP usando o botão acima
- Navegue até Configurações da Empresa → Transferência de Dados no seu painel AutoTalk
- Clique em Importar e selecione o arquivo ZIP baixado
- Revise o resumo da importação e confirme
- Todos os IDs de documentos são remapeados automaticamente — nenhuma edição manual de IDs é necessária