How to Build Slack Bot? (Node JS | AWS Lambda & DynamoDB - AWS Serverless | New Slack Apps)

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • 🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
    ▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
    ► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
    ► Located in San Francisco Bay Area, CA (US citizen)
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    ► LinkedIn: / anton-putra
    ► Twitter/X: / antonvputra
    ► GitHub: github.com/antonputra
    ► Email: me@antonputra.com
    ▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
    👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
    👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
    👉 [Playlist] Network Tutorials: • Network Tutorials
    👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
    👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
    👉 [Playlist] Database Tutorials: • Database Tutorials
    Slack Bot Tutorials:
    How to Build Slack Bot (Slack Bot Node JS Tutorial): • How to Build Slack Bot...
    AWS Lambda Secrets Manager Example: • AWS Lambda & Secrets M...
    =========
    ⏱️TIMESTAMPS⏱️
    0:00 Intro
    1:16 Create Slack Bot App
    2:28 Create IAM User with Full Access
    3:20 Create IAM Role for AWS Lambda
    4:55 Create AWS Lambda Function
    7:30 Deploy Lambda Using Container Image
    7:58 Create API Gateway for Lambda Function
    10:11 Use AWS Lambda for Slack Event Subscriptions
    12:15 Verify Slack Requests Using Signing Secret
    17:55 Process Slack Messages
    22:13 Save Messages Using AWS Lambda to DynamoDB
    =========
    Source Code
    🖥️ - GitHub: github.com/antonputra/tutoria...
    #AWS #Lambda #Slack

Komentáře • 26

  • @AntonPutra
    @AntonPutra  Před 10 měsíci +1

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @nayelbaig
    @nayelbaig Před 5 měsíci +1

    Best video so far regarding chatbot on slack

  • @rohanandgwen1221
    @rohanandgwen1221 Před 2 lety +1

    Great video to help with familiarization with slack bot and AWS. Thank you.

  • @ramilm9793
    @ramilm9793 Před 2 lety +1

    Thank you for the great video

  • @prageethpasyala
    @prageethpasyala Před 2 lety +1

    Hi Anton, It is heartbreaking to see your people are sufferings and I wait for good news every day. Hop you and your family are safe. I really like your tutorial and you save lot of time. I pray for your safety brother. stay safe.

  • @artpierce
    @artpierce Před 2 lety +1

    Спасибо за видео!

  • @EakanGopalakrishnan
    @EakanGopalakrishnan Před rokem

    seems like creation of IAM users with programmatic access has changed significantly!

  • @shivrajnag12
    @shivrajnag12 Před 5 měsíci

    Hi Anton can you make a tutorial on how to make this bot distributable on Slack App Directory

  • @AntonPutra
    @AntonPutra  Před rokem +1

    👉 How to Manage Secrets in Terraform - czcams.com/video/3N0tGKwvBdA/video.html
    👉 Terraform Tips & Tricks - czcams.com/video/7S94oUTy2z4/video.html
    👉 ArgoCD Tutorial - czcams.com/video/zGndgdGa1Tc/video.html

  • @akshaypant8883
    @akshaypant8883 Před 2 lety +1

    Hi @Anton ,
    I really like your detailed explanation.
    Can you help me on the below:
    I have build a chatbot in node.js.
    Now i have to add real time customer support feature (for quick responses to the queries) using the app using slack.

    • @akshaypant8883
      @akshaypant8883 Před 2 lety

      Should work like this way that when user
      Enters something in our chatbot it should reflect to support agents and then the support agent can reply using slack account. Can you help me out. Please Make another detailed video that how agent use to manage multiple clients

    • @AntonPutra
      @AntonPutra  Před 2 lety +1

      When you use events subscription, Slack will post a message to your endpoint that contains the user id of the customer. Perhaps you can store the customer information in the database and map it with that id. Let me think about it, and maybe in the future, I will create a more generalize Slack bot that satisfies your requirements.

    • @akshaypant8883
      @akshaypant8883 Před 2 lety +1

      @@AntonPutra thanks. Please make it soon as i need this requirement in my project asap😂

    • @AntonPutra
      @AntonPutra  Před 2 lety

      @@akshaypant8883 😱

  • @kennyalami4262
    @kennyalami4262 Před rokem

    Hi there, thanks for the video. How did you get the event.json data you are using?

    • @AntonPutra
      @AntonPutra  Před rokem

      It's been a while, I think, from the CLoudWatch log.

    • @kennyalami4262
      @kennyalami4262 Před rokem

      @@AntonPutra I’ll take a look there then! Thank you!

  • @rodrigo41087
    @rodrigo41087 Před 2 lety

    Thanks for the video, you are the best.
    Edit: Im using the case "message" , i use rds.describeDbclusters. but mi message repeat two or three times before 1or 5 minutes. How i can prevent this. I use de conditional if dont include event.bod_id to prevent loop :(
    Sorry for my bad inglish

    • @AntonPutra
      @AntonPutra  Před 2 lety

      Hi Rodrigo, it's been a while when i created this video, unfortunately don't remember all those details :)