Easily schedule application messages to be delivered at a specific time in the future. Deliver messages to your custom Webhooks, Amazon SQS and SNS.
Dispatch is a service that allows you to schedule a message to be delivered at a specific time in the future. It enables you to easily power your asynchronous processes without investing in a more heavy-weight workflow engine.
Dispatch currently supports delivering messages to custom webhooks, as well as integrating with cloud messaging systems you might already be using.
The code listings below show an example message being scheduled and delivered to pre-configured webhook target.
You could use Dispatch to schedule an application message to be delivered a certain amount of time after a user signs up for your application. Upon receiving this message your application could trigger an email to be sent to the user.
It can be important to remind calendar users ahead of their events so that they don't arrive late. You can accomplish this easily be scheduling a message using Dispatch whenever a user RSVP's to an event. When your application receives the message it checks the reminder status and sends a push notification if it is still relevant.
You might be integrating with another service or API that takes a very long time to finish an asynchronous operation, perhaps booking some real physical resource like a hotel room or rental car. Sometimes the service might not respond at all and you need the process to abort.
One approach might be the store the state of each process and continually poll their status. A better approach is to schedule a timeout message using Dispatch and cancel the process upon delivery.
Dispatch is priced per each scheduled message. One message costs $0.0001 USD, or $1 USD for 10,000 messages.
There is a permanent free tier that discounts the first 1000 messages each month.