Send structured logs to BetterStack from any workflow using HTTP
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for automation builders, developers, and D...
🔌 Nodes & Integrations Used (2)
📖 Implementation & Setup Guide
Send structured logs to BetterStack from any workflow using HTTP Request
Who is this for?
This workflow is perfect for **automation builders, developers, and DevOps teams** using n8n who want to send structured log messages to [BetterStack Logs](https://betterstack.com/logs). Whether you're monitoring mission-critical workflows or simply want centralized visibility into process execution, this reusable log template makes integration easy.
What problem is this workflow solving?
Logging failures or events across multiple workflows typically requires duplicated logic. This workflow solves that by acting as a **shared log sender**, letting you forward consistent log entries from any other workflow using the **Execute Workflow** node.
What this workflow does
- Accepts `level` (e.g., "info", "warn", "error") and `message` fields via `Execute Workflow Trigger`
- Sends the structured log to your BetterStack ingestion endpoint via **HTTP Request**
- Uses **HTTP Header Auth** for secure delivery
- Includes a **manual trigger** for testing and a sample call to demonstrate usage
- Comes with clear sticky notes to help you get started
Setup
- Copy your BetterStack Logs ingestion URL.
- Create a **Header Auth credential** in n8n with your `Authorization: Bearer YOUR_API_KEY`.
- Replace the URL in the HTTP Request node with your BetterStack endpoint.
- Optionally modify the test data or log levels for custom scenarios.
- Use `Execute Workflow` in any of your workflows to send logs here.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Send_structured_logs_to_BetterStack_from_any_workflow_using_HTTP.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related General Automation Workflows
View All in General Automation →Generate Application Copy
Production-ready n8n automation template for Generate Application Copy built by AhiXLight. Seamlessly connects Execute Workflow Trigger, OpenAI with 4 configured nodes.
2-way sync Google Contacts and Notion
Sync your Google Contacts with your Notion database. You can filter contacts by label or sync all contacts. All contact information is kept in sync between G...
2D Image to 3D Model Automation
Production-ready n8n automation template for 2D Image to 3D Model Automation built by AhiXLight. Seamlessly connects HTTP Request, Google Sheets, Google Drive with 17 configured nodes.
2 way sync assignments completion between Canvas LMS and Notion
Syncs assignments and completion states to and fro between Canvas LMS and a Notion database. Automatically triggers every 2 hours during the schoolday by def...