Create a contract form with recursive Slack modal

What it does

When someone runs the create contract form command in Slack, this automation checks if a form type was selected. If not, it prompts the selection; if yes, it opens a modal to collect contract details.

Who it's for

Legal teams who need to gather contract information through a guided Slack workflow without leaving the conversation.

How teams use this

Collect contract details without switching apps

Someone runs the command, selects a contract type, fills the modal, and submits all from Slack. The team stays in conversation and the contract data flows to the next step automatically.

Route contracts by type to different teams

Extend this automation to route submitted contracts to different approval queues based on the form type selected. Each team receives only the contracts they need to review.

Use the same flow for other document types

Adapt the automation to handle purchase orders, NDAs, or service agreements by changing the form type options and modal fields. The recursive structure stays the same.

How it works

  1. Run the create contract form command. Type the create contract form command in a Slack channel or direct message to start this automation.
  2. Check if form type is selected. Slack checks whether a form type was provided with the command. If not, it prompts someone to select from available form types in the channel.
  3. Open the contract details modal. Once a form type is selected, Slack opens a modal where someone enters the required contract fields and details for that document type.
  4. Submit the form for processing. When someone submits the modal, Slack passes the contract details to another automation for further processing and storage.