Retool now supports Amazon SQS. You can use the Amazon SQS integration in Retool Apps and Retool Workflows to send, receive, and delete messages from a queue. This integration enables you to respond to events as they occur, triggering changes and actions in your workflows or apps.
Amazon SQS is currently in public beta on Retool Cloud and for Self-hosted Retool 3.102 or later.
Correct me if I’m wrong, but essentially Retool apps can now “react” to data, correct?
If so… you should call it something different because this is huuuuge and more people should know about it
Are there plans to integrate this into workflows directly as well? (Meaning I can post to a workflow webhook and have my apps react to that data, without having to set up SQS).
Update -- a few more questions
Do FIFO queues work as well, or just standard ones? With FIFO queues it seems that I get an error saying "MessageGroupId" needs to be included, but I don't see any option for specifying the group ID.
Does SQS still require running the resource periodically (i.e. polling the queue) in Retool (in the advanced settings for the query)? If so, then how is this better/different than just doing the same with any other query?
I wish you were right, but Retool apps can't yet react to data, but we are actively thinking about this. It is a question of prioritization, resourcing and figuring out what it would take to build this. It sounds like it is something that you'd be excited about. Can you share more about
what you expect this to be like
how impactful this would be
what kind of use cases would this drive for you?
We're looking for more signal and validation before we fund this effort.
For your questions:
FIFO queues: It is meant to be supported. We'll add a fix to support MessageGroupId and possibly also a message deduplication id. Thanks for reporting this!
Yes, you'd have to poll at whatever frequency you like. SQS doesn't natively support streaming, so even if Retool implemented this with a push based model, Retool would have to poll this in a loop for you. We might better support this in a natively realtime Retool world in future (depending on your feedback on the previous section) where you create a workflow querying from SQS, poll SQS at some frequency and push it to the Retool native queue that pushes to your apps that subscribe to said queue, but that's one implementation among many options.
I am very interested in this Beta feature. Unfortunately, our self-hosted instance of Retool is holding to the stable branch release schedule. Do you happen to know when a new stable branch will be released that would include this capability?