[FR]: Add Regex-Based Conditions to DM Automations
M
Martin Elias
Category: DM Automations / Triggers
Priority: High (Workflow & Automation Quality)
Summary:
Please add text-based message conditions to DM Automations, matching the functionality already available in Comment Automations.
Currently, DM Automations only support:
- Any message
- Specific keywords
- Sentiment
- Tags
This is insufficient for advanced automation logic and creates a major feature gap between Comment and DM automations.
---
Current Limitation:
In Comment Automations, we can precisely filter content using rich text conditions such as:
- Matches regex
- Contains
- Is exactly
- Contains email
However, DM Automations are missing all text-related matching functions beyond basic keyword matching.
This makes DM automations:
- Harder to scale
- Less accurate
- More error-prone
- Dependent on external workarounds
---
Why This Matters:
DM messages are free-form text, just like comments.
Without proper text conditions, automations cannot reliably distinguish between:
- Intent vs noise
- Structured inputs (emails, phone numbers, order IDs)
- Commands vs natural language
- Valid vs invalid user replies
Regex-based matching is essential for serious automation use cases.
---
Requested Conditions to Add (Same as Comment Automations):
Please add the following conditions to DM Automations → Message Text:
- Matches regex
- Contains
- Does not contain (optional but very useful)
- Is exactly
- Contains email
- Contains phone number (optional, future-proofing)
These should behave identically to their counterparts in Comment Automations for consistency and predictability.
---
Example Use Cases:
- Email Capture:
Trigger only if the DM reply contains an email address
→ Contains email
- Command-Based Automations:
Trigger only if the user sends an exact command
→ Is exactly: START
- Advanced Parsing:
Trigger based on structured input
→ Matches regex: (?i)order\s?#?\d{5,}
- Prevent False Positives:
Avoid keyword collisions like:
“thanks, not interested” triggering keyword = “interested”
---
Why Keywords Alone Are Not Enough:
- Keyword matching is case-sensitive or brittle
- Cannot validate structure
- Cannot filter partial vs exact matches
- Cannot support power-user workflows
- Regex and text operators solve all of the above cleanly.
---
Business Impact:
Adding text & regex conditions to DM automations will:
- Bring feature parity between Comment and DM automations
- Reduce user frustration and support tickets
- Enable advanced workflows without external tools
- Make Replient significantly more attractive to power users and agencies
---
Suggested UI Placement:
DM Automations → Trigger Conditions → Message text
Same selector and UX as Comment Automations.
---
Additional Notes:
This feature would dramatically improve automation quality and consistency across the platform.
Thank you for considering this.
— Martin
Power user & automation-heavy customer