Designing advanced Slack workflow for legal tasks
- 1 I'm curious how far I can stretch the limits of a Slack workflow. Here is my ideal state: Add an emoji reaction or respond with a slash command to a specific message (and limit the specific emoji or slash command capability to individual users on the Legal team only). I imagine that the slash command is probably the more effective idea, given that I don't want to have to limit its use to certain channels. The trigger does two things: 1 - It creates a new thread in Amp, asking Amp to review the
- 2 Walk me through how long it will take to build this and what will be needed to make it work. Consider the fact that I am not a developer in your response. Default to the simplest way possible to make this happen.
- 3 What's an even simpler way to do this, without the need for a developer to support me outside of my own use of Amp?
- 4 Is there another way to do this, without developer support, with more manual effort? Like, it triggers a message in the legal channel, then the assignee picks the work up, notes when they start and when they complete work, and what type the work is, along with any other relevant detail (impact, positive feedback, etc.) and then that is automatically tracked in Google Sheets?
- 5 Can this approach be used with all three team members?
- 6 What information do you need from me in order to start planning out this build?
- 7 Team Setup: - Suggest a legal-specific channel. We already have #discuss-legal and #team-legal, and my preference is to make this one specific to task tracking or legal matter management. Task Categories: - We work on all types of legal work: customer contracts, privacy, marketing, product, employment, corporate, vendor contracts, etc. - We assign work by type, with each member being the default for certain types of work, but also by capacity. It's probably best for team members to pick things
- 8 I have the ability to create Slack workflows. I use a Google workspace account through my company.
- 9 Before we build Phase 1, here's exactly what I want to happen: - Legal users (the only users who have this capability) enter a slash command in response to a message in our company slack workspace "/legal-request" - That slash command triggers a Slack message to be sent to a legal team private channel called #legal-matters, which is dedicated to task tracking - That message uses the following format: Legal Request [Link to Original Message] Request Submitted: [Date and Time Slash Command Was Us
- 10 Option B
- 11 The threaded reply after the task is claimed should say: "[Legal Team Member Name] claimed this matter: [Request Name] - [Matter Type]"
- 12 If the original message can't be updated with the status, can it at least be updated with emojis to show the status, like "eyes" when it's in progress and "checkmark" when it's complete?
- 13 Can I create a separate Slack automation that uses some sort of emoji trigger based on these replies?
- 14 Slack workflows can add emojis automatically.
- 15 Let's update the workflow based on this: Skip forms entirely and use emoji-triggered workflows: Add π = triggers form to capture assignee/matter type/request name Add β = triggers completion form Both log to Google Sheets That feels like a more user-friendly experience
- 16 Is it better to complete the form within google forms, or are there slack forms that we can use?
- 17 walk me through the flow of using slack forms in this experience from start of slash command to completion of work
- 18 Our team has an idea for a new approach, and I want to confirm this is possible. 1. Submit Request (from any channel or DM) * Legal User sees a message needing legal review * Legal User types /legal-request as a reply to that message * Workflow automatically posts to #legal-matters: Legal Request [Link to Original Message] Request Submitted: [Date and Time Slash Command Was Used] 2. Claim Work (in #legal-matters channel) * Legal User sees request in #legal-matters * Legal User adds raised hand e
- 19 Let's do Option 1 - please outline that full flow for me. Slash command response should be configured to be visible only to the user who ran it.
- 20 How complicated is this new flow to build, given that we won't be connecting to Google Sheets?
- 21 Yes! Take me one step at a time.
- 22 done
- 23 There is no shortcut option.
- 24 Options from Slack: From a link in Slack On a schedule When a list item is updated When a message is posted When a person joins a channel When an emoji reaction is used Many of those are limited by channel and I need more flexibility than that (all channels, all DMs)
- 25 Emoji reaction is across up to 20 channels. That does not work.
- 26 Option A
- 27 What does Option C look like? How will it work?
- 28 If we did Option C, is there a way to automate the forwarding message?
- 29 Don't Slack apps often break? I don't like the idea of relying on a custom slack app that we might have to maintain.
- 30 Walk me through Option C's full flow and your recommendation for any data that should come from Legal when they forward a message to the #legal-matters channel
- 31 Take me step by step for this option
- 32 I didn't realize these would be 4 separate workflows. Is there a workflow before the emojis to trigger anything once a message comes into #legal-matters?
- 33 Legal messages will only be responsive threads to matters in #legal-matters, so that workflow actually sounds really valuable
- 34 It won't work because #legal-matters is a private channel and it only works for public channels. What can I do?
- 35 yes
- 36 there
- 37 Shouldn't I add a third question, for Assignee? I can add one that is a dropdown and @ mentions any of the 3 of us if selected
- 38 option A
- 39 I can't add a threaded reply yet. The Slack workflow starts with a raised hand reaction, then says "collect info in a form" with the 2 questions noted, but there is an error that says "add a message step with a "continue workflow" button before this interactive step in order to use it. What do I do?
- 40 I don't want a DM. Can it reply in the thread instead?
- 41 I have updated it. What's next?
- 42 should the above workflow have any reference to date or time that the matter was claimed? Or is the fact that the forwarding of the original message (which has a timestamp in Slack) + the start work and complete work flows (which will have dates and time) work better?
- 43 The workflow is live
- 44 on the canvas
- 45 published
- 46 on the canvas
- 47 published
- 48 on the canvas
- 49 published
- 50 Update the workflows so that when I add each emoji, it removes the prior emoji
- 51 updated
- 52 updated
- 53 Walk me through the practical application of this workflow with one reopening of a matter. Will the fully completed matter still show a checkmark?
- 54 Clean!
- 55 Walk me through how to best capture data for reporting purposes when sending it to Amp. How can Amp get access to the data in Slack?
- 56 how do I export from Slack?
- 57 Unclear but this is helpful. Let's go back to the workflows. Is it possible to create one workflow instead of four in Slack? Slack can't remove and replace emojis unless they're added by the same workflow that's tryiing to remove them.
- 58 If each of these legal team members want to see what is still open at the end of each day or week, how can they do that personally without having to rely on a slack admin? Can we create a slack workflow to be able to show what is open and closed at the end of each day or week?
- 59 There's a problem. In the Start and Complete work automations in Slack, the inserted variable in the message response is "time when the reacted message was sent". It's only showing the day and time when the first reaction was sent, not later reactions. How can I better capture the time and date when the actual actions (start, complete, reopen, etc.) are occuring?
- 60 The only options are in the jpg in my folder called "Slack Workflow Variables"
- 61 done
- 62 can you give me a "emoji key" and "how to use these workflows" slack-style message to pin to the canvas in this #legal-matters channel?
- 63 I'd love to create something shareable externally to show people how they can build this automation for themselves, but I am not sure how to do that. In theory, it would walk through what the automation does, how to use it, and how to connect to Amp to pull relevant data and build dashboards (ex: through a shareable HTML). What's the best way to do that?
- 64 Please ensure that anything that is created strips any information that is specific to Sourcegraph (i.e., channel names, team member names, customer names, etc.)
- 65 Where can I find the file? The link isn't working.
- 66 Remove any reference to $0 or Free, because use of AI is not free. Remove references to "AI Assistants" and tell them to use Amp (ampcode.com) to analyze. Add screenshots and examples.
- 67 The screenshot under Part 2: Build Workflow #1 is not working. Add the following link to signup for free Amp credits: https://ampcode.com/code/lily
- 68 How can I share this HTML in a linkedin post?
- 69 I went with a LinkedIn article. Help me introduce this article in a succinct LinkedIn post. Tone should be professional and should encourage legal ops professionals who love DIY and use Slack to try the same automations I built.
- 70 I'm trying to figure out the best way to report on the data in these threads. I ran a report yesterday, by manually copying each thread and sharing it in Amp. Long-term, though, that's not the best way to do things, and I'd like to try to avoid using the help of a Slack admin to export data. I am wondering if it's worth updating the functionality to add a message at the end of each thread, something like: [Matter Name] [Assignee} [Assignee] claimed matter [date and time] [Assignee] started work
- 71 I'd prefer the workflow message format. Walk me through that change to the complete workflow.
- 72 No, I want one message, added to the end of the complete work workflow that says: CLAIM | Matter: Customer NDA Review | Type: Customer Contracts | Assignee: Alex Chen | Time: Jan 15, 2025 2:36 PM START | Assignee: Alex Chen | Time: Jan 15, 2025 3:45 PM COMPLETE | Assignee: Alex Chen | Time: Jan 16, 2025 10:20 AM REOPEN | Assignee: Alex Chen | Time: Jan 18, 2025 2:15 PM COMPLETE | Assignee: Alex Chen | Time: Jan 19, 2025 11:30 AM Is this possible?
- 73 What about a workflow at the end of a thread that posts a reply to the channel that includes matter name and all of the status updates?
- 74 and how would I connect to google drive to capture all of this information in a spreadsheet?
- 75 I'm interested in the hybrid approach. Is there an easier way to pull thread data instead of copying/pasting each thread?
- 76 Yes, I do, but I don't see the "more" option to see all threads and replies when I click the channel name.
- 77 Can I do this through connecting Slack to Amp with the Slack API?
- 78 can you check the Amp manual?
- 79 In the Claim Legal Matter workflow, is there any way we can rework that to show work that multiple team members are working on?
- 80 I'm adding both. Claim form allows for multi-select, and now a collaborator can be added if one is requested to join in later. Help me update the emoji key in the #legal-matters channel to reflect the use of the teamwork emoji to add a collaborator later, or the addition of multiple people on a claim form
This is an interesting question about creating a complex Slack workflow that integrates with Amp and Google Sheets. Let me break down what the user wants:
- A Slack trigger (emoji reaction or slash command, limited to Legal team members)
- The trigger creates a new Amp thread asking for message review and task assignment
- A message is sent to a legal channel with task details and interactive buttons
- Google Sheets tracking of the workflow
This is definitely feasible using Slack's workflow automation, but it's quite complex. I should provide a concise overview of how this could work, focusing on the key components and technologies needed.
The user wants to know if it's feasible and how to do it. I should be concise as per my instructions.
This is absolutely feasible using Slack's Workflow Builder, Slack APIs, and webhooks. Here's the architecture:
Core Components:
- Slack App with slash command permissions for Legal team members
- Webhook service (Node.js/Python) to orchestrate the flow
- Amp API integration to create threads programmatically
- Google Sheets API for tracking
Flow:
- Slash command triggers webhook β webhook creates Amp thread via API β Amp analyzes message and returns assignment β webhook posts to legal channel with interactive buttons β button clicks update Google Sheets
Key Technologies:
- Slack Bolt SDK for the app
- Slack Block Kit for interactive messages
- Amp's thread creation API (if available)
- Google Sheets API v4
- Cloud function (AWS Lambda/Vercel) for the webhook
The trickiest part is getting Amp's response back into Slack - you'd need either Amp's API or a polling mechanism to check thread status.
Would you like me to help you start building any specific component of this workflow?
The user is asking for a timeline and requirements for building this Slack workflow, and they explicitly mention they're not a developer. I need to give them the simplest approach possible while being realistic about what's needed.
Let me think about the simplest approach:
- They want to avoid complex custom development
- They need this to work with existing tools as much as possible
- They need realistic timelines
- They need to understand what skills/resources are required
The simplest approach would likely be:
- Use Slack's built-in Workflow Builder for the basic flow
- Use Zapier/Make.com for the integrations instead of custom code
- Use Google Sheets as the database
- Find a way to integrate with Amp (this might be the hardest part)
Let me structure this in terms of time, complexity, and what's needed.
Simplest Approach (No-Code/Low-Code):
Timeline: 2-4 weeks
What You Need:
- Slack admin access to create apps
- Zapier/Make.com subscription (~$20-50/month)
- Google Workspace account
- 1 developer for 1-2 days (for Amp integration only)
Build Steps:
Week 1: Set up Slack slash command using Slack's Workflow Builder (you can do this yourself with tutorials)
Week 2: Connect to Zapier to handle the automation:
- Slash command β Create Google Sheet row
- Send message to legal channel
- Add interactive buttons
Week 3-4: The tricky part - Amp integration. You'll need a developer to:
- Create a simple webhook that receives Slack data
- Sends it to Amp (may require Amp API access)
- Returns results back to Slack
Biggest Challenge: Amp doesn't have a public API yet, so you'd need to either:
- Ask Amp team for API access
- Use browser automation (more complex)
- Manual copy-paste as interim solution
Alternative: Start with everything except Amp integration, then manually create Amp threads until API becomes available.
Would you prefer to start with the manual version first?
The user wants to avoid needing any developer help outside of using Amp itself. So I need to think of the simplest possible solution that eliminates the need for any custom coding or API integration.
Let me think about what's possible with just existing tools:
- Slack Workflow Builder - can trigger on slash commands and send messages
- Google Sheets - can be updated via Zapier/Make
- Amp - they're already using it, but no API
The key insight is to remove the automated Amp integration entirely and make it a manual step, but still automate everything else.
Simple flow:
- Slash command triggers Slack workflow
- Workflow sends message to legal channel with all the details
- Workflow updates Google Sheet automatically
- Legal team member manually copies the message content to create Amp thread
- Buttons in Slack still work for status updates
This eliminates the need for any custom development while still providing most of the value.
Ultra-Simple Approach (Zero Developer Needed):
Timeline: 1 week
What You Need:
- Slack Workflow Builder (built into Slack)
- Zapier free/basic plan
- Google Sheets
The Flow:
/legal-requestslash command in any channelSlack Workflow Builder automatically:
- Copies the message content
- Posts to #legal-channel with task details
- Adds buttons ("Start Work", "Complete")
- Logs to Google Sheet
Manual Amp step: Legal team member copies the message content and pastes into new Amp thread (30 seconds)
Button clicks update Google Sheet status automatically
Setup Steps:
- Day 1-2: Create Slack Workflow Builder workflow (drag-and-drop, no coding)
- Day 3-4: Connect Zapier to update Google Sheets when buttons are clicked
- Day 5: Test and refine
Result: 90% automated, with just one quick manual step to create the Amp thread. Legal team gets full tracking, assignment, and status updates without any custom development.
This gives you immediate value while waiting for Amp to potentially add API access later.
The user wants an even simpler version with more manual effort but no developer support. They want:
- Slash command triggers message in legal channel
- Legal team member manually picks up work
- They manually input details (start time, completion time, work type, impact, feedback)
- That gets automatically tracked in Google Sheets
This is much simpler - just a form-based workflow that feeds into Google Sheets.
Super Simple Manual Approach:
Timeline: 2-3 days
What You Need:
- Slack Workflow Builder
- Google Forms (free)
- Google Sheets (free)
The Flow:
/legal-requestcommand posts message to #legal-channel with:- Original request details
- Button: "I'll take this task"
Legal team member clicks button, which opens a Google Form with fields:
- Task type (dropdown)
- Start time (auto-populated)
- Assignee (auto-populated from Slack)
- Impact level
- Notes
When they complete work, they fill out completion form:
- End time
- Outcome
- Client feedback
- Additional notes
Google Forms automatically populate Google Sheets for tracking
Setup:
- Day 1: Create Slack workflow with button that opens Google Form link
- Day 2: Design Google Forms for task pickup and completion
- Day 3: Test and refine
Result: Zero coding, full tracking, team can add rich details about each task. Takes 30 seconds per task to log details manually.
This gives you comprehensive data while being completely manageable for non-technical setup.
The user is asking if the manual approach I just described can be used with all three team members. I should clarify that yes, this approach scales easily to multiple team members since it's using standard tools like Slack, Google Forms, and Google Sheets which are designed to handle multiple users.
I should be concise and confirm this works for multiple people, maybe mention any considerations for multiple users.
Yes, absolutely. This approach works perfectly for all three legal team members.
Multi-User Benefits:
- Slack workflow works for anyone with access to the slash command
- Google Forms automatically capture who's filling them out (via Slack integration or email)
- Google Sheets tracks all team members' tasks in one place
- Each person can claim tasks independently via the button
Setup Considerations:
- Limit slash command to your 3 legal team members only
- Google Form can auto-populate assignee name from Slack user
- Sheets will show all tasks across the team for full visibility
- You can add filters/views in Sheets to see individual workloads
Team Dashboard Result: One Google Sheet showing all legal requests, who's working on what, completion times, and outcomes across all three team members.
The manual effort stays the same per person (30 seconds to log), but you get team-wide visibility and workload distribution.
The user wants to know what information I need to start planning the build of this legal workflow system. I need to think about what specific details would be required to create the Slack workflow, Google Forms, and tracking system.
Key information I'd need:
- Slack workspace details
- Team member information
- Task categorization details
- Tracking requirements
- Current process details
- Access/permissions information
I should be concise and ask for the essential details needed to create a concrete plan.
Essential Info Needed:
Team Setup:
- Names/Slack usernames of the 3 legal team members
- Slack workspace name
- Name of the legal-specific channel (or should I suggest one?)
Task Categories:
- What types of legal work do you handle? (contracts, compliance, employment, etc.)
- How do you currently assign work? (expertise-based, rotating, volunteer basis?)
Tracking Requirements:
- What specific data points matter most? (response time, complexity, client satisfaction?)
- Do you need reporting by time period, task type, or team member?
Current Process:
- How do legal requests come in now? (DMs, random channels, email?)
- What's your current turnaround time expectations?
Access:
- Do you have Slack admin permissions to create apps/workflows?
- Do you use Google Workspace or personal Google accounts?
With these details, I can create the specific Slack workflow steps, design the Google Forms fields, and map out the tracking spreadsheet structure.
The user has provided good details. Let me plan this out:
Team Setup:
- They need a new channel name for task tracking/legal matter management
- They have #discuss-legal and #team-legal already
Task Categories:
- All types: customer contracts, privacy, marketing, product, employment, corporate, vendor contracts,