Second Case: initiate a conversation with your bot - Deepstash
The Psychology Of The Ultimate Entrepreneur

Learn more about leadershipandmanagement with this collection

The importance of perseverance

How to embrace failure as a learning opportunity

The power of innovation and creativity

The Psychology Of The Ultimate Entrepreneur

Discover 128 similar ideas in

It takes just

17 mins to read

Second Case: initiate a conversation with your bot

A Cronjob firing every weekday at 9:00 am is below a Cronjob firing every weekday at 9:00 am. Thanks to the date() Method, the Bot gets today’s date and can compare it to the “Joineddate” of the user.

2

0 reads

MORE IDEAS ON THIS

Getting Started

Below you’ll find my Server.Js file: This server is a blank page, showing and processing nothing. You’ll then need a slack App: just follow this link to create one. The Controller is the brain of your Bot. It contains every skill and configuration.

2

0 reads

My Goals

My bot should be able to manage all the needs a small company could have on Slack:

  • Onboarding
  • Putting people in touch
  • Reminders
  • Announcements
  • Birthdays /Anniversary
  • And many more

2

0 reads

Reviewing the basics

For this program, I’ll use:

  • Botkit
  • Node JS
  • Express Server
  • MongoDB
  • Slack API & of course

2

0 reads

Unlocking the first case: react to the events happening on Slack

If you give the right Permissions to your App, every time a message is sent on a channel, slacks sends a request to your server with some information. If we want our Bot to react to a simple message like "Hi", we have to give slack an address to send the information to. If we want our Bot to react e...

2

0 reads

How do Slack bots work?

There are then two cases:

  • You want your bot to react to events happening directly in Slack
  • You want your bot to react to events happening on your server

2

0 reads

CURATED FROM

IDEAS CURATED BY

rachegraham

Designer graphic

Related collections

Other curated ideas on this topic:

Haruki Murakami’s Routine

Haruki Murakami’s Routine

The Japanese writer used to wake up at 4:00 am and work for about six hours, then going for a 10 km run or swimming. He used to follow strict discipline and used the technique of mesmerism by conditioning the mind with repeated disciplinary behaviour.

It isn’t easy waking up daily at 4:00 ...

Your Natural Instincts

Your Natural Instincts

Opt for actions and daily habits that naturally align with you, or are less of a challenge. Be realistic and commit for the long haul.

If you regularly sleep at 1:00 AM then trying to wake up at 5:00 AM can be a self-defeating exercise. 

Use a digital task manager

First, you enter every task you can think off, and sort them into groups. Then you prioritise the most immediate projects and schedule tasks that you can do at a later date.

This method is good for techies: people who love using phones and have many tasks to organise or work on a v...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates