Loading API docs...
Store n8n credentials, select a workflow or webhook destination, and push TrendsAGI payloads into dedicated n8n connector routes. This page lists the required credentials, setup example, mapped endpoints, and production notes.
Base URL
https://api.trendsagi.com114
Routes
16
Guides
3
Languages
Dedicated workflow connector for live n8n handoffs
Store n8n credentials, select a workflow or webhook destination, and push TrendsAGI payloads into dedicated n8n connector routes.
Install
No SDK required. Use TrendsAGI n8n integration endpoints.Required credentials
export TRENDSAGI_API_KEY="<TRENDSAGI_API_KEY>"
export N8N_API_KEY="<N8N_API_KEY>"
export N8N_BASE_URL="https://n8n.example.com"
# 1) Connect your n8n workspace
curl -X POST "https://api.trendsagi.com/api/integrations/n8n/connect" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY" \
-H "Content-Type: application/json" \
-d "{
\"api_key\": \"$N8N_API_KEY\",
\"api_base_url\": \"$N8N_BASE_URL\",
\"include_metadata\": true
}"
# 2) List available workflows
curl -X GET "https://api.trendsagi.com/api/integrations/n8n/workflows" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY"
# 3) Save the workflow selection
curl -X PUT "https://api.trendsagi.com/api/integrations/n8n/selection" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workflow_id": "14",
"workflow_name": "Trend Alerts",
"default_event": "trend_lifecycle",
"api_base_url": "'"$N8N_BASE_URL"'"
}'
# 4) Push a delivery payload into n8n
curl -X POST "https://api.trendsagi.com/api/integrations/n8n/push" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": "trend_lifecycle",
"data": {
"trend": "AI infrastructure",
"category": "Technology"
}
}'# Save as quickstart.sh
bash quickstart.sh1. Install
Add SDK/dependency for this integration path.
2. Authenticate
Set API key and any provider-specific credentials.
3. Map Endpoints
Use mapped endpoints below to build deterministic flow.
4. Harden
Add rate-limit backoff, idempotency, and safety gates.
Endpoint Mapping
Each integration is mapped to specific API endpoints so teams can compose deterministic workflows.
Production Notes