Skip to content

victorialslocum/standup-integration

Repository files navigation

👋 Welcome to my Slack/Notion standup integration!!

This was wayyyy more difficult than it looks 😢

Wow I learned a ton doing this. Slack and Notion have great APIs and helpful docs, but being as new to this as I am, it took a lot of trial and error. A big part of this was figuring out how to translate Slack messages into stuff Notion can understand. You can find that whole project here.

Features 📊

Parent Message

This code will send a parent Slack message to a Notion database, complete with a title, properties, and a perfectly formatted body.

Title

  • split based on any punctuation mark or a new line
  • formatted without link or user ickness
  • character limit of 100
  • emojis!!

Properties

  • user who sent the Slack message
  • date created
  • multi-select tags
  • link to the original slack message

Body

  • text formatting for
    • code
    • links
    • bold text
    • italicized text
    • strikethrough
    • bullet points
    • (I think) ordered lists
  • tagging users is automaticly done
  • text links are formatted right]
  • emojis!!

Thread message

It will also update a Notion page with the thread message, with all the correct formatting.

Example formatting:

@Victoria Slocum says: This is a great additional item to a Notion page!! 

Channel Topic

We found it helpful to have the channel topic be updated with the currect tags in use.

This code will automatically update the channel topic when a new tag is added!!

Reply with Link

The Standup Bot will reply in the thread with the link to the created Notion page

Overall flow 🌊

The Slack message with the bot reply

Slack message

The Bot setting the channel topic

Bot channel topic

The Notion page properties

Notion page properties

The Notion page content

Notion page content

Anyways 👋

Hey, I'm Victoria, and you can find my website here and the blog post for this page here.

I also tried this with Zapier first, and you can read about my experience here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published