Skip to content

A Slack bot that can create Trello cards from within a Slack channel. It utilizes the Slack Bolt API and Trello API to create a card in a specific Trello list when a user sends a message with a specific command in Slack

Notifications You must be signed in to change notification settings

nourjandali/SlackToTrello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack To Trello Integration

This repository contains code for a Slack bot that can add Trello cards directly from Slack channels. This bot utilizes the Trello API and Slack Bolt API to create cards in a specific Trello list when a user sends a message with a specific command in Slack.

Requirements

  • Node.js v14 or higher
  • A Trello account
  • A Slack account
  • A hosting service (Railway.app)

Installation

  • Clone the repository to your local machine.
  • Install the required dependencies using npm install.
  • Rename the .env.example file to .env and fill in the required environment variables with your Trello and Slack API credentials.

Trello API: TrelloAPI

Slack API: SlackToken

  • Add Scopes in OAuth.

OAuthScopes

  • Deploy the app to your hosting service.

Railway

EventSubscriptions

  • Subscribe to Bot Events.

SubscribeToBotEvents

Usage

  • Add the bot to a Slack channel.

AddBotToChannel

  • Type :trello:ADD -t "Card Title" -d "Card Description" in the channel and replace Card Title and Card Description with the title and description of the Trello card you want to create.

TestSlack

  • The bot will create a card in the Trello list with the ID 640ba599d219c4002fcf3117 and reply with a confirmation message in the Slack channel.

TrelloCardAdded

About

A Slack bot that can create Trello cards from within a Slack channel. It utilizes the Slack Bolt API and Trello API to create a card in a specific Trello list when a user sends a message with a specific command in Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published