Latenode

Automatically sync new Discord channel messages to StockTwits

This template watches a Discord channel for new messages and publishes the text as a StockTwits post. The Discord bot trigger starts the run.

A JavaScript node calls the StockTwits API with the message body. Put the StockTwits API key in that JavaScript node. Connect Discord, pick the channel, and skip bot or empty messages if you only want human chat.

Updated Sep 16, 2026Est. run: 8sEst. cost: $0.0005
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Cross-posts Discord chat to StockTwits without copy-paste
  • Starts when the Discord channel receives a message
  • Calls the StockTwits API from JavaScript
  • Keeps the StockTwits API key in that JavaScript node

How it works

1
Trigger

New Discord message

The scenario starts when a new message lands in the Discord channel you watch.

2
Logic

Read the message text

JavaScript takes the Discord content and drops empty or bot messages if you only want human posts.

3
Action

Post to StockTwits

JavaScript calls the StockTwits API with that text. Put the StockTwits API key in that JavaScript node.

Setup guide

1

Connect Discord

Add a Discord bot connection. Put the bot token on the Discord connection. Invite the bot to the server and pick the channel to watch.

2

Store the StockTwits key

Add a JavaScript node and put your StockTwits API key there. Call the create-message endpoint from StockTwits API docs.

3

Map the post body

Read the Discord message text in JavaScript. Skip empty messages. Post a test line in the channel and confirm it appears on StockTwits.

Requirements

A Discord bot that can read the target channel
A StockTwits account that can create posts
A StockTwits API key stored in the JavaScript node

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.