LogoLogo
  • Docs
  • Connector Configuration
  • Knowledge Base
  • Changelog
  • Get Started
  • The Basics
    • What is Appmixer
    • Appmixer interfaces
      • Appmixer Studio
      • Backoffice
      • SDK Demo
  • Appmixer Studio features
    • What is a flow
    • Creating a flow
    • Sharing a flow
    • Flow examples
      • Forward customer support calls based on PIN
      • Feed customer data to Mailchimp
      • Google Drive document approvals
      • CSV import: calculate average value
    • Creating an Integration template
    • Using Variables to map data
    • Using Modifiers to alter data
    • Implementing logic
    • Troubleshooting errors
    • Visual features
      • Selecting multiple objects
      • Copying objects
      • Zooming in/out
      • Exporting a flow to an Image
      • Renaming a flow
      • Renaming a component
    • Utility modules
      • Webhooks
      • HTTP
      • Filters
      • Scheduling
      • Forms
      • Tasks
      • Language
    • Connected accounts
      • Connecting a new account
      • Managing accounts
    • Data storage
      • Creating a Data storage
      • Editing a Data storage
      • Using Data storage in a flow
    • Insights
      • Logs
      • Dashboard
      • Charts
      • Chart types
      • Data aggregations
    • Changing a password
  • Backoffice features
    • Insights
    • Flows
    • Users
    • Access Control List
    • Services
    • Extra: Creating custom components
  • SDK Demo
    • SDK Demo: Workflow automation
    • SDK Demo: Integration templates
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Appmixer Studio features
  2. Data storage

Using Data storage in a flow

PreviousEditing a Data storageNextInsights

Last updated 3 years ago

Was this helpful?

You've just learned how Data storage works. Now, let's finally see the real value of this feature. In this section, we will demonstrate a use case that some of us being on a forever-free Slack plan know very well.

Ever lost a message on Slack due to the fact that you're on a free plan? We did. Luckily for us and unluckily for Slack, there is a workaround. As tech geeks, we love workarounds, and we are somewhat proud to show you how to store Slack messages in the Appmixer Data storage so that there is never a message that is lost for good.

#sorrySlack

As you'll see, the flow we are about to build is more than simple. Below, see the overview of what it looks like once it's built-in Appmixer.

To get started hit the "Create Flow" button and drag & drop the Slack component to the canvas and choose either NewChannelMessage or NewPrivateChannelMessage – based on whether you want to store messages from public or private channels.

If you haven't authenticated your Slack account yet, now it's the right time to do so.

Next, you'll want to use the Storage module, or more specifically the "Set" component that saves new items to the Data storage. Below, see how we use a timestamp, message text and user to keep our database organised and clean.

We are all set! Except we aren't. There are for sure more channels from which we'd like to store messages in our Data storage. Let's adjust our flow a bit by adding more triggers / more Slack channels.

Next, we need to adjust the "Set" component a little bit. First, we need to choose the Data storage to which the messages will be saved. Second, we may want to use the channel name and timestamp as key...

... and the content of the message itself as value.

It's important to say that the Data storage needs to be first created in the "Storage" tab to further use it in a flow.

Let's do the same for other channels so that we store all messages, not only the ones coming into the "my-appmixer-tests" channel.

Now, every time a new message is sent to any of the Slack channels we've defined in the trigger components, the message gets saves to a Data storage.

You may wonder how the data looks once it's saved, don't you? Let's have a look.

After that, you're all set! ✅

Notice we have according to the Slack channel name to keep our flow organised and self-explanatory.

You may note: "The timestamp is not in a format that is easily readable!" and you'd be absolutely right. You can easily adjust the date format , and make the data stored in Appmixer clear for anyone.

You just learned about the power of Data storage. .

renamed the components
using Modifiers
In the next section, we'll look at Insights that help you keep track of your flows and data that flows between different platforms
Flow overview
Drag & drop the Slack module
Aurhentication process
Using the "Set" component in a flow
Choosing the Slack channel
Choosing the Data storage and setting the key
Setting the value
Using multiple Slack channels in the trigger components
Slack message being stored in the Data storage