Block 1 - Alpaca-get-account-info
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
Description Transform your investment strategy with a fully automated, AI driven trading bot. This workflow bridges the gap between AI powered market insights and real world trading by executing bu...
n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.splitout, n8n-nodes-base.merge, n8n-nodes-base.stickynote, n8n-nodes-base.wait, n8n-nodes-base.scheduletrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Raz Hadas.
Original n8n.io sourceTransform your investment strategy with a fully automated, AI-driven trading bot. This workflow bridges the gap between AI-powered market insights and real-world trading by executing buy and sell orders directly through the Alpaca paper trading API.
Designed to work in tandem with the Automated Stock Sentiment Analysis workflow, this solution takes the top-performing stocks based on daily news sentiment and automatically rebalances your portfolio. It's perfect for algorithmic traders, data-driven investors, and n8n enthusiasts who want to see their AI analysis translate into tangible actions, all while maintaining a comprehensive log of every transaction in Google Sheets.
This workflow executes a sophisticated, automated trading strategy in a few key stages:
DELETE request to Alpaca for each, closing the positions.POST requests to Alpaca to purchase the new assets with the calculated funds.This workflow is the perfect next step for anyone looking to take their AI analysis to the next level. Take the emotion out of your trading and let this bot systematically execute your data-driven strategy.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated stock trading with AI: integrating Alpaca and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 19 |
| Categories | Crypto Trading |
| Author | Raz Hadas |
| Published | 06 Jul 2025 |
Use the JSON export at /data/workflows/5711/5711.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Description Transform your investment strategy with a fully automated, AI driven trading bot. This workflow bridges the gap between AI powered market insights and real world trading by executing bu...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading use case.