Overview
How Meya can help you get a grip on time
Meya provides a suite of tools, components and flows that help you build a bot that can execute tasks or say things on a defined schedule. Meya supports the following scheduling features:
Features
- Delays: Add a
relative
orabsolute
delay between state transitions or bot utterances. This can be short (a few seconds for UX), or longer (minutes, hours, days, ..) if your use-case calls for it - Periodic flows: Start a periodic schedule (see
meya.schedule
) that executes any one of your flows on a schedule using intervals or cron syntax. You can stop already running flows using the bot or the Web development environment. - Rate limits: prevent runaway loops, bad actors, or malicious behavior
Use-cases
- Bot builder wants to delay a series of messages for a few seconds for a better UX.
- Bot delays a message to a pre-defined point in the future (> than a few seconds):
- relative time (in 1 hour)
- absolute time (at 2pm tomorrow)
- these times can be hardcoded or read from datastore.
- User subscribes a series of 1 or more recurring events. Examples: 1) receive updates throughout a basketball game using polling, 2) get morning updates from a blog, 3) provide daily summary of some statistics or reports, 4) allow for complex schedules using polling
Try out an example periodic bot: https://meya.ai/affirmationbot
..or view it's source code: github/affirmationbot
Updated over 6 years ago