Pular para o conteúdo principal

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

Baixar ZIP

O que está incluído

CampoValor
NomeBuscar Clima
TipoWorkflow
Triggermanual
Etapas1
Entradas1

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

  1. Baixe o arquivo ZIP usando o botão acima
  2. Navegue até Configurações da Empresa → Transferência de Dados no seu painel AutoTalk
  3. Clique em Importar e selecione o arquivo ZIP baixado
  4. Revise o resumo da importação e confirme
  5. Todos os IDs de documentos são remapeados automaticamente — nenhuma edição manual de IDs é necessária