Summary: This Zibot will automatically notify a preselected list of channels or people in your Slack workspaces about files being added/removed or modified inside your Google Drive/Dropbox. The Email Zibot can be used in a single flow or as part of a multi-step flow.
Where is the feature setup? The Slack Zibot can be applied inside the Zibot step when creating or amending a Flow. Ziflow is able to automatically send email notifications based on your cloud storage events. Please Note: The Slack Zibot will only show if you have connected Slack to Ziflow.
Follow instructions on:
Send a File/Message to Slack Zibot Event configuration
Before you create your first automation, you'll need to connect your Google Drive/Dropbox personal/Dropbox Businesses. Start by entering the Connect tab and pressing a Create flow button located in the right upper corner of a dashboard. Name your flow (eg. Send each uploaded file to our Production Slack channel) and select a previously added cloud storage connection. Alternatively, you can add a new cloud connection from this page as well.
Next, select type of the event that is going to trigger the automation:
There are 4 types of events who can choose from (4th one which is New folder is created is dedicated for other Zibots):
File is added to a folder - select this event if you want to notify or send files being uploaded to the storage.
File is modified - select this event if you want to notify or send about files that are being modified (e.g. name is changed).
File is deleted - select this event if you want to notify or send files that are removed from the storage.
New folder is created - select this event if you want to notify about folder being created in the storage.
Let's now Set up details for your event. Please see "Understanding event settings" for more information.
The above settings let you narrow down files that will trigger the automation later on. You can decide which files, uploaded where and by whom will trigger later actions. Once you're done with adjusting the trigger settings, click the Next button and proceed with the Zibot configuration.
Send a File/Message to Slack Zibot configuration
You'll be presented with a list of available Zibots, select the Send a message/file to Slack option.
When you select the Send a message/file to Slack action as part of your flow, you will see the following window.
The configurable options inside the Slack Zibot are listed below:
Bot name - Ziflow is asking what you want to call the bot that will be posting messages or files to your Slack workspace. (By default we enter Ziflow)
Bot icon URL - This field is optional but you have the ability to post a URL to an image that can be used as your bot avatar inside Slack.
Where would you like to post the message - The Slack Zibot is asking where to post the message, it can be a public channel, private group, or a DM channel, you can even use your own @username to send to yourself.
Message - Enter the message that will be posted in Slack. Tokens can be used to add specific information to your message. For more information on tokens please review FAQ: How to use tokens.
Attach file - You have the option to attach a file in Slack:
Select “No file attached” if you don’t want to attach a file.
Select “File that triggered this flow” if you want the Slack Zibot to attach the file that started the flow to be sent with the message in Slack.
Select “File that is the result of the previous action” if you want the Slack Zibot to send the file created in the previous Z action to the message in Slack.