Buscar Notícias Públicas GDELT (String Codificada)
Workflow manual que busca notícias públicas do GDELT e retorna artigos codificados com toon.
manual http news gdelt toon-encode encoded-output
O que está incluído
| Campo | Valor |
|---|---|
| Nome | Buscar Notícias Públicas GDELT (String Codificada) |
| Tipo | Workflow |
| Trigger | manual |
| Etapas | 1 |
| Entradas | 2 |
JSON Completo
Clique para expandir
{
"description": "Manual workflow that fetches public news from GDELT and returns toon-encoded articles.",
"tags": [
"manual",
"http",
"news",
"gdelt",
"toon-encode",
"encoded-output"
],
"document": {
"name": "Fetch GDELT Public News (Encoded String)",
"enabled": true,
"log_level": "info",
"trigger": {
"type": "manual"
},
"workflowInput": [
{
"name": "query",
"description": "Search terms for GDELT public news (e.g., climate change, elections, ai policy)",
"schema": {
"type": "string",
"required": true
}
},
{
"name": "max_records",
"description": "Optional max number of news articles (default: 50)",
"schema": {
"type": "string",
"required": false
}
}
],
"steps": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/network/http/request/send",
"actions/network/http/request/send": {
"method": "GET",
"url": {
"expr": "url_params(\"https://api.gdeltproject.org/api/v2/doc/doc\", {\"query\": query, \"mode\": \"ArtList\", \"maxrecords\": coalesce(max_records, \"50\"), \"format\": \"json\"})",
"onFailure": "throw",
"resultType": "any"
},
"headers": [],
"returnBuffer": false,
"cache": true
}
}
}
],
"returnExpression": {
"expr": "toon_encode(step_data(0, \"articles\", []))",
"onFailure": "throw",
"resultType": "any",
"strict": false,
"useSimpleCel": false
},
"customAttributes": {}
}
}
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