Saltar al contenido principal

Obtener Texto del Primer Artículo de Noticias GDELT

Workflow manual que obtiene noticias públicas de GDELT y devuelve el texto extraído del primer artículo.

manual http news gdelt article-text two-step

Descargar ZIP

Qué está incluido

CampoValor
NombreObtener Texto del Primer Artículo de Noticias GDELT
TipoWorkflow
Triggermanual
Pasos2
Entradas2

JSON Completo

Clic para expandir
{
"description": "Manual workflow that fetches public GDELT news and returns the extracted text of the first article.",
"tags": [
"manual",
"http",
"news",
"gdelt",
"article-text",
"two-step"
],
"document": {
"name": "Fetch First GDELT News Article Text",
"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 to consider (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://gdelt.adriel.eu/doc\", {\"query\": query, \"mode\": \"artlist\", \"maxrecords\": coalesce(max_records, \"50\"), \"format\": \"json\"})",
"onFailure": "throw",
"resultType": "any"
},
"headers": [],
"returnBuffer": false,
"cache": true
}
}
},
{
"condition": {
"expr": "step_ok(0) && present(step_data(0, \"articles.0.url\"))",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/network/http/request/send",
"actions/network/http/request/send": {
"method": "GET",
"url": {
"expr": "url_params(\"https://gdelt.adriel.eu/doc/content\", {\"url\": step_data(0, \"articles.0.url\")})",
"onFailure": "throw",
"resultType": "any"
},
"headers": [],
"returnBuffer": false,
"cache": true
}
}
}
],
"returnExpression": {
"expr": "step_data(1, \"text\", \"\")",
"onFailure": "throw",
"resultType": "any",
"strict": false,
"useSimpleCel": false
},
"customAttributes": {}
}
}

Como Importar

  1. Descargue el archivo ZIP usando el botón de arriba
  2. Navegue a Configuración de la Empresa → Transferencia de Datos en su panel de AutoTalk
  3. Haga clic en Importar y seleccione el archivo ZIP descargado
  4. Revise el resumen de importación y confirme
  5. Todos los IDs de documentos se remapean automáticamente — no se necesita edición manual de IDs