Ziflow administrators or Enterprise licensed users with custom permissions can set up flows.
Available on: Pro Enterprise
In addition to connecting your Slack account, you will need to connect your Ziflow app. See Connect your Ziflow app.
If you are new to Ziflow automation flows and need an introduction, read Understand automation flows (Connect).
Basic flow creation
- Select Connect in Ziflow’s main navigation and select Create Flow.
- Select Ziflow as your flow’s application source. If you don't see it, follow the instructions in Connect your Ziflow app.
- Enter a name for your flow.
- Select the event that will start the flow. See Ziflow events for a list of all Ziflow events and details on each setting.
- Add Slack Zibots to the flow.
Send a notification to Slack on proof creation
This flow sends a notification with a proof link when a proof is created in Ziflow.
Start with a Basic flow creation and select Ziflow as your application source.
Select the New Proof/Version Ziflow event, configure, and select Next.
Select the Send to Slack channel Zibot.
-
Enter the channel and the message in the Zibot configuration. In this example, the message is sent to the ziflow-reviews-test channel and includes a message using text layout with a link to the public URL.
Add the Add or update proof integration property Zibot to the workflow. This Zibot adds information from Slack to the of a newly created proof. For information about this Zibot, see
-
Configure the Zibot by selecting the connection and integration property information. For the property value, reference the Send to Slack channel Zibot's channel as shown. Select Next.
- Select Save & Turn on.
- Test the flow by creating a new proof. Verify that a notification is sent to the designated Slack channel, and verify that the Slack information in the Integrations tab are filled out correctly on the proof.
If the Slack channel is private, you need to allow Ziflow to access the channel. See ******
Send a notification to Slack on @mention
This flow sends a Slack notification to a user when they are @mentioned in a comment in the Ziflow Proof Viewer.
Start with a Basic flow creation and select Ziflow as your application source.
Select the New comment/reply Ziflow event, configure, and select Next.
Select Create a path from the Zibot list.
-
Name the path. Under Rules, enter the following and select Next:
{$.comment.comment}containsreviewer:
For more information, see Add a path to an automation flow.
Select the plus sign to add an action to the conditional path. When a path’s conditions are met, your flow executes the actions you’ve added after it.
Select the Obtain Slack User by email Zibot.
-
Copy the expression below and paste it into the Email field. Select Next.
#{$.proof.stages.members[id=$match($$.comment.comment, /\$\{reviewer:([a-f0-9-]+)\}/)[0].groups[0]].email}# Add the Send to Slack user Zibot to the path.
-
Select Enter ID manually and select the user ID collected from the previous Zibot for the User ID field. For the text message, you can use tokens so the user can see some details related to the mention.
-
Test the flow by using @mention on someone from your Slack workspace and verify that they are notified in the Slack app.
The person you @mention must be in your Slack workspace to be notified.Here's how the notification appears in Slack:
Comments
0 comments
Please sign in to leave a comment.