Skip to main content

How to Create, Edit & Delete Relays

Build reliable automations with a clear flow: Trigger → Conditions → Actions. This guide shows you how to configure, test, and troubleshoot Relays.
Permissions required: By default, only Admin users can access Relays. If you don’t see the Relays module, ask your workspace admin to grant you Relay Management permissions via Settings → Team Management. Learn more: Team Management.

How to Create or Edit a Relay

1. Visit the Relays module

When you first visit Relays, you’ll see templates you can use as a starting point, just click Add Relay to start building. Relays Templates Pn All Relays appear in the Relays tab with an On/Off toggle. You can delete Relays from the same view.
By default, new Relays are paused. Toggle them On when you’re ready.
Relays Tab Pn

2. Name and describe your Relay

Click the vertical (three dots) next to a Relay to Rename, Edit description, or Delete.
Add an emoji (e.g., 💤 for after-hours) to make Relays easy to scan.
Relay Name Description Pn

3. Set a Trigger

Current supported trigger: Message Received (fires when a new inbound SMS arrives).
Note: Templates include the message received trigger by default.
Relay Message Received Trigger Pn

4. Add Conditions

Conditions control where/when a Relay runs. You can combine multiple conditions with AND or OR. Available conditions:
  • Message contains text — match keywords like SUPPORT, HELP
  • My phone number equals — run only on a specific outbound line
  • Is anonymous conversation — no saved contact yet
  • Is new conversation — first inbound in a thread
  • Active hours — restrict to a daily time window
Tip: Turn on “Trigger outside of business hours” to invert the time window for after-hours replies.
Relay Condition Pn

5. Add Actions

Actions run when the conditions match. You can add one or many in the order you want them to execute.
  • Reply to message — send an SMS/MMS (supports templates, tags, and media)
  • Assign teammates to the conversation — pick one or more users
  • Add labels to the conversation — apply one or more labels
  • Remove labels from the conversation — remove one or more labels
  • Remove teammates from the conversation — remove one or more assigned users
  • Send webhook — send event data to your webhook endpoint
Tip: You can chain multiple actions together—e.g., Reply, Assign, and Label in a single Relay.
Delays (optional)
  • Add a Delay to Reply to message to wait minutes/hours before sending.
  • Delays help prevent duplicate auto-replies if a message was sent recently.
Relay Action Pn

6. Activate your Relay

Use the toggle to turn the Relay On. You can pause anytime without losing your setup. Relay Toggle Pn

Managing Relays

Pause / resume

  • From the list: toggle On/Off
  • From details: use the status toggle at the top
Paused Relays do not evaluate triggers or run actions.

Delete

Open the Relay → Delete.
Warning: Deleting is permanent. If you might reuse the automation, pause instead.

Starter Relay Templates (Copy & Adapt)

Example 1: Delegation & Team Routing Relay

Use this setup when multiple teammates need to view and reply on behalf of a manager. Relay Delegation Routing Pn
TriggersConditionsActions x2
Message ReceivedOn the Manager’s or Teammates’ phone lineAssign Manager 1, Teammate 2, and Teammate 3
Apply labels “Region 1” and “Region 2”
How it works:
When a message comes in on the manager’s number, MessageDesk automatically assigns the conversation to the manager and the two direct reports.
The message is labeled by region, keeping everything organized by team and location.
Pro Tip: Use delegation-style relays for managers who want their teams to reply on their behalf or monitor shared inboxes.Each teammate assigned to the conversation will receive notifications by default.

Example 2: Out-of-Office & Weekend Autoresponder

Use this when teammates want to automatically reply during vacations or after hours. Out Of Office Relay Pn
TriggersConditions x2Actions x3
Message ReceivedActive hoursSend Auto Reply: “Thanks for reaching out! I’m currently out of the office. Please text [alternate number].”
My phone number isAssign to teammates: Teammate 1, 2, and 3
Add labels to the conversation: Region 1, Region 2
Steps to configure:
  1. Create a new Relay and choose Message Received as the trigger.
  2. Under conditions, set Active Hours for each day to “Closed” or a select time span.
  3. Toggle “Trigger outside of active hours” ON.
  4. Add an Action → Send Auto Reply and compose your message.
  5. Add an Action → Assign to teammates and select teammates.
  6. Add an Action → Add labels to the conversation and select labels.
  7. Toggle the Relay ON.
Team Tip: Each team member (Teammate 1, 2, and 3) can have their own relay(s). Be sure to give each Relay a clear descriptive name, like:
  1. Teammate 1 - Out of Office Autoreply
  2. Teammate 2 - Weekend Autoreply
  3. Teammate 3 - Vacation Autoreply

Example 3: Identify unknown contacts/conversations

Use this Relay to automatically collect names from new, anonymous conversations.
Perfect for teams who receive texts from unsaved numbers or new contacts.
Identify Relay Pn
TriggerConditionActions
Message ReceivedConversation is anonymous (contact not in directory)Send Auto Reply: “Thanks for texting us! What’s your first and last name so we know who to help?”
Steps to configure:
  1. Create a new Relay and choose Message Received as the trigger.
  2. Under conditions, set My phone number equals to a connected phone line.
  3. Set another condition for Is anonymous conversation.
  4. Add an Action → Reply to message and compose your message.
  5. Add an Action → Assign to teammates and select teammates.
  6. Add an Action → Add labels to the conversation and select labels.
  7. Toggle the Relay ON.
Pro Tip: Combine this Relay with Contact Imports or Labels (e.g., “Unverified”) to easily track and update new numbers later.

Example 4: Keyword-based autoresponder

Use this Relay to automatically respond when someone texts in a specific keyword — like SUPPORT, JOIN, or BOOK. When a contact sends a message containing the word “SUPPORT,” MessageDesk automatically replies with your chosen message. It’s ideal for auto-routing messages or triggering fast replies without manual effort. Support Relay Pn
TriggerConditionActions
Message ReceivedMessage contains keyword “SUPPORT”Send Auto Reply: “Thanks for reaching out to support. Please share any extra details, and we’ll jump in.”
Steps to configure:
  1. Create a new Relay and choose Message Received as the trigger.
  2. Under conditions, set My phone number equals to a connected phone line.
  3. Set another condition for Message contains text SUPPORT.
  4. Add an Action → Reply to message and compose your message.
  5. Add an Action → Assign to teammates and select teammates.
  6. Add an Action → Add labels to the conversation and select labels.
  7. Toggle the Relay ON.
Tips for Success:
  • Keep keywords short and memorable — e.g., JOIN, HELP, SUPPORT.
  • Use all caps for clarity and easy recognition.
  • Create separate keyword relays for each department (e.g., BOOK → Sales, SUPPORT → Service).

Relays Best Practices

  • Start simple. Test one Relay before scaling across teams.
  • Name clearly. Use descriptive titles like Teammate 1 - Delegation Relay or Region X,Y, Z Autoresponder.
  • Test with your phone. Send yourself a message to confirm behavior.
  • Combine with templates. Use pre-saved templates to standardize replies.
  • Audit regularly. Disable or update relays as team structure changes.

Technical Notes & Behavior

  • Action order: Actions execute top-to-bottom in the order you add them.
  • Delays: Units include minutes/hours. Use to prevent duplicate “fast follow” replies.
  • Active hours: Configure daily windows; invert to run only outside business hours.
  • Permissions aware: Assign/Label actions respect Roles & Permissions.
  • Testing tip: Start with a single condition/action, confirm it fires, then layer on complexity.

Frequetly Asked Relay Questions

Do Relays respect roles & permissions?
Yes. Assign/Label actions follow your Roles & Permissions settings.
Can multiple Relays run on one inbound message?
Yes. If conditions match for more than one Relay, each eligible Relay can run.
Can I include media in auto-replies?
Yes. Keep each file ≤ 10 MB (files > 500 KB are sent as links). See Media.
Can I pause without losing my setup?
Yes—toggle Off to pause. Toggle On to resume.
How do I avoid duplicate automated replies?
Add a Delay to the Reply action, or narrow conditions (e.g., “Is new conversation”).

Troubleshooting

A Relay didn’t fire
  • Confirm it’s On (not paused).
  • Verify the Trigger is “Message Received”.
  • Temporarily loosen Conditions (switch AND to OR, remove a filter) to test.
Auto-reply sent multiple times
  • Add a Delay to your Reply action so back-to-back messages don’t both trigger an instant response.
Assign/Label didn’t apply
  • Check the target user/label permissions.
  • Remove long Delays while testing to see results immediately.
Unexpected timing
  • Review Active hours and the invert setting.
  • Check your workspace timezone.