Skip to content

DeathCamel58/plumb-all-slack-integration

Repository files navigation

Plumb-All's Slack integration

This is an internal integration tool that Plumb-All uses to integrate various things.

Custom integrations

  • Jobber
    • New clients, invoices, quotes, jobs, etc get sent to PostHog
    • New requests in Jobber get sent into Slack, PostHog, and Trello
  • Google Ads
    • Lead forms are sent to Slack, PostHog, and Trello
  • Slack
    • Reactions to contacts in Slack update Trello
  • FleetSharp
    • Sends certain vehicle alerts to Slack

Example .env file

SLACK_CHANNEL=slack-channel-name

# Email Connection information
EMAIL_ADDRESS=[email protected]
EMAIL_CHECK_INTERVAL=[milliseconds for email check interval]

# Slack App Credentials
SLACK_TOKEN=xoxb-6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
SLACK_SIGNING_SECRET=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c

# Google Ads Key
GOOGLE_ADS_KEY=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
# Google API Key
GOOGLE_API_KEY=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c

# Jobber App Credentials
JOBBER_CLIENT_ID=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
JOBBER_APP_SECRET=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
JOBBER_AUTHORIZATION_CODE=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
JOBBER_REFRESH_TOKEN=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c

# Posthog Credentials
POSTHOG_HOST=https://app.posthog.com
POSTHOG_TOKEN=phc_6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
POSTHOG_API_TOKEN=phx_6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
POSTHOG_PROJECT_ID=12345

# Trello Settings
TRELLO_API_KEY=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
TRELLO_SECRET=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
TRELLO_TOKEN=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
TRELLO_BOARD_NAME=name-of-trello-board
TRELLO_LIST_NAME_TODO=name-of-trello-todo-list
TRELLO_LIST_NAME_WIP=name-of-trello-wip-list
TRELLO_LIST_NAME_DONE=name-of-trello-done-list
TRELLO_LIST_NAME_NO_GO=name-of-trello-no-go-list

# Facebook Settings
FACEBOOK_KEY=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
FACEBOOK_APP_ID=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
FACEBOOK_APP_SECRET=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c
FACEBOOK_ACCESS_TOKEN=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c

# CloudFlare Keys
CLOUDFLARE_CONTACT_FORM_KEY=6c6d60e7-dc09-4b1d-b780-8ddc50a61e4c

# Web Stuff
WEB_URL=https://publicly.accessable.url
WEB_PORT=80

DEBUG=FALSE

About

This is the node app that forwards calls to our slack system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published