Skip to content
GuidesChecked 19 November 2026

Post new feature requests to Slack

The REST API lists your requests. A short Node script polls for new ones and posts each to a Slack channel.

Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.

Why a channel

A new request is a small piece of news. In a channel, the team sees it the same day and can react in a line.

A request is read sooner when it lands where people already look.

The board stays the place to vote, and the channel becomes the place to notice.

Most teams check a board when they plan, which is weekly at best. A request that arrives on Tuesday waits until then, and the person who wrote it waits with it. A message in a channel shortens that wait to minutes, and it costs the team one line of reading.

It also spreads the news. A designer who would never open a dashboard sees a request about the checkout page, and a support person sees the third mention of the same bug. Nobody has to be asked to look.

Two secrets

The script needs a VoteFirst API key and a Slack incoming webhook URL. Both are secrets, so neither goes into the script or the repository.

Keep the API key and the Slack URL in the environment.

Reading the API needs the Free plan or Pro, because Lite leaves it out.

Create the API key under Share and Embed in the dashboard, and send it in the X-API-Key header. In Slack, create an app for your workspace, switch on Incoming Webhooks, add the webhook to the channel you want and copy its URL. Anyone who holds that URL can post to the channel, so treat it like a password.

Name the two variables VOTEFIRST_KEY and SLACK_WEBHOOK_URL and put them in a file called .env next to the script. Add that file to your ignore list before the first commit, so a key never reaches the history.

The script

The script asks for the hundred newest requests, skips the ones it has posted before and sends the rest to Slack, oldest first.

Read the newest requests and post each one once.

It runs on Node 20.6 or later, and it needs no packages.

The list route takes sort=new and a page size of up to a hundred. Each request carries an id, a heading, a description, a status and a vote count, which is plenty for a message. The Slack side takes a small JSON body with a text field, and it understands *bold* and <link|label> in that text.

On the very first run the script records what is already on the board and posts nothing. Without that step, the channel would receive a hundred messages at once, which is how a good idea gets muted.

Post each new request to Slack
import { readFileSync, writeFileSync, existsSync } from 'node:fs';

const BOARD = 'https://app.votefirst.app/api/v3/projects/your-project-slug';
const BOARD_PAGE = 'https://feedback.yourapp.com';
const SEEN_FILE = 'posted.json';

const firstRun = existsSync(SEEN_FILE) === false;
const seen = new Set(firstRun ? [] : JSON.parse(readFileSync(SEEN_FILE, 'utf8')));

async function readNewest() {
  const response = await fetch(BOARD + '/features?sort=new&per_page=100', {
    headers: { 'X-API-Key': process.env.VOTEFIRST_KEY },
  });
  if (response.ok === false) throw new Error('VoteFirst answered ' + response.status);
  return (await response.json()).data;
}

async function post(request) {
  const detail = (request.description || '').slice(0, 300);
  const response = await fetch(process.env.SLACK_WEBHOOK_URL, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      text: 'New request: *' + request.heading + '*\n' + detail + '\n<' + BOARD_PAGE + '|Open the board>',
    }),
  });
  return response.ok;
}

for (const request of (await readNewest()).reverse()) {
  if (seen.has(request.id)) continue;
  if (firstRun || await post(request)) seen.add(request.id);
}

writeFileSync(SEEN_FILE, JSON.stringify([...seen]));

Remembering

A request created on Monday and approved on Wednesday has an older id than one created on Tuesday. A script that only remembers the highest id would never post it.

Remember every id, because the newest id is not enough.

The saved list is the file posted.json, which sits beside the script.

Visitors can suggest requests, and every suggestion waits for a person to approve it. The list route returns approved requests only, so a suggestion appears in the script's view the moment it is approved, whatever its id. Saving the set of ids already posted handles that without any special case.

The saved file grows by one number per request, so it stays tiny for years. If the script runs somewhere that forgets its files between runs, keep the ids in a place that lasts, such as a small database or a storage bucket.

Scheduling

A line in a crontab is enough on a server. Any hosted scheduler that runs a command works as well.

Run it every ten minutes from any scheduler.

Reads are allowed at up to twelve hundred a minute per key, and this script makes six an hour.

Ten minutes is a good rhythm for a board that gets a few requests a day. A busier board can poll every few minutes, and a quiet one can poll hourly. The message arrives a little after the request is approved, never before.

Run the script once by hand before you schedule it. Check that the first run posts nothing, add a request on the board, approve it and run the script again. The message should arrive within moments.

A crontab line, every ten minutes
*/10 * * * * cd /opt/votefirst-slack && node --env-file=.env post-to-slack.mjs

Shaping messages

The same loop can add a vote count, a status filter or a tag. A channel that stays useful stays read.

Post only what the team will act on.

Add status=open to the request URL to skip everything already planned or done.

Three changes cover most channels. Add request.vote_count to the text, so the team sees how much support a request already has. Filter by tag, using the tag id the API returns, to send billing requests to one channel and mobile requests to another. And cut the description to one or two lines so that a long suggestion never floods the channel.

Keep each message about one thing. A request, a link to the board and a vote count are enough. The discussion belongs in Slack's thread, and the decision belongs back on the board, where the person who asked will see it.

Closing the loop

Slack carries the news one way. A reply in a thread reaches your team and does not reach the visitor.

Answer on the board, so the person who asked sees it.

Status changes and releases are made in the dashboard, and changelog followers are emailed about releases.

When the team decides, change the status or write the answer on the request. A visitor who voted for it sees the change on the board, and when the request ships in a release, the people who follow the changelog get an email.

The script is a way to hear about requests faster. It is not a way to answer them, and the guide on closing the feedback loop covers the answers.

What a Slack feed gives a small team

News the same day

A request is seen within minutes of its approval.

No new tool to open

The team keeps reading the channel it already reads.

A script you own

Thirty lines you can change, with no extra subscription.

Set up the Slack script in five steps

About twenty minutes, most of it in Slack's settings.

Create the keys

An API key from Share and Embed, and a Slack incoming webhook.

Save the variables

Put VOTEFIRST_KEY and SLACK_WEBHOOK_URL in a .env file.

Seed the first run

Run the script once so it records what is already there.

Test with a request

Add one, approve it and run the script again.

Schedule it

Add the crontab line, or the same command in a hosted scheduler.

What to know before you build it

  • Messages arrive a little after approval, because the script polls on a schedule.
  • The flow is one way. Replies in Slack do not reach the board.
  • The list shows approved requests only, and private boards are not returned.
  • The API is on the Free plan and Pro, and Lite does not include it.

Slack and feedback board questions

Does VoteFirst have a Slack integration?

No. The script in this guide is the way to get requests into a channel, and it uses the REST API.

Does VoteFirst send webhooks when a request arrives?

No. It sends no outgoing webhooks, so a script has to ask the API on a schedule.

Which plans include the API?

The Free plan and Pro include it. Lite does not.

Why does a new suggestion not appear straight away?

A suggestion waits for approval, and the API lists approved requests only. The script posts it once someone approves it.

Will the first run flood the channel?

No. When no saved file exists, the script records what is on the board and posts nothing.

How often should it run?

Every ten minutes suits most boards. The API allows twelve hundred reads a minute for each key.

Can it post only some requests?

Yes. Filter by status or by tag id in the list request, or skip requests in the loop.

Where should the ids be kept?

In a file beside the script, or in any storage that lasts between runs.

Can the script use Microsoft Teams or Discord instead?

Yes. Both accept a webhook with a JSON body, so only the post function changes, field names included.

What does it cost to try?

The paid plans open with a 14 day trial, and starting one takes no card.

Put the board in the channel

Twenty minutes gives your team every new request the day it arrives, and the paid plans open with a 14 day trial and no card.