Giter Site home page Giter Site logo

slack-notion's Introduction

๐Ÿ‘‹ 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

slack-notion's People

Contributors

victorialslocum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.