LogoLogo
  • Welcome to Rewst
  • Documentation
    • Automations
      • Workflows
        • Workflow builder: How to set up a workflow
        • Task transitions
        • Data aliases
        • Best practices for designing workflows
        • Advanced workflow operations menu
        • Data input and output: Input variables and context variables
        • Option generator workflows
        • Completion handlers and workflow wrappers
        • Boolean logic in Rewst workflows
        • Document with RoboRewsty
      • Forms
        • Build a form with Rewst's Form Builder
        • Embed a form into an iFrame
        • Clone an existing form
        • Conditional fields
        • Form organizational variables
        • Troubleshoot unpacked Crate forms
      • Templates and scripts
      • Actions
        • Core actions
        • Rewst actions
        • Transform actions
          • Add or subtract from DateTime transform action
          • All transform action
          • Any transform action
          • Append with items results transform action
          • Compare dates transform action
          • Convert list to object transform action
          • Convert DateTime to timezone transform action
          • Defang transform action
          • Diff lists transform action
          • Flatten list transform action
          • Format date time transform action
          • Generate friendly password transform action
          • Get business days between dates transform action
          • Get DateTime transform action
          • Get days between dates transform action
          • Get list length transform action
          • Get string length transform action
          • Is JSON transform action
          • Map to an attribute within a list transform action
          • Merge lists transform action
          • Parse CSV transform action
          • Parse text to JSON transform action
          • Refang transform action
          • Remove duplicates from list transform action
          • Return element transform action
          • Select attribute transform action
          • Set list field value transform action
          • Set variable transform action
          • Sort transform action
          • Split text transform action
          • Transform list objects transform action
          • Trim variable transform action
        • Workflows actions
      • Triggers
        • Trigger criteria
        • Trigger use cases and examples
          • Customize PSA ticket triggers
          • Use webhook triggers
    • App Builder
      • Get started with App Builder
      • Components
        • Accordion component
        • Button component
        • Container component
        • Chart component
        • Data table component
        • Form component
        • Grid container component
        • Grid item component
        • Header component
        • HTML container component
        • Image component
        • Link component
        • Menu component
        • Row component
        • Sidebar component
        • Text component
        • Workflow input component
      • Prebuilt Apps: Available by request
        • Forms portal
        • End user portal
        • Operational analytics reporting portal
      • Manage your apps
      • Manage your pages
      • Domains
      • Permissions
      • Authentication
      • Themes
      • Page builder
    • Crates
      • Stewart's 30 favorite Crates
      • Production Crate list
      • Migrate between Crate versions
      • Crate deprecation FAQ
      • Crate guides
        • Ad-Hoc Install/Uninstall Software via Chocolatey Crate
        • Add Client to Rewst Crate
        • Alert on Expiring App Reg Certificates Crate
        • Alert on Expiring App Reg Secrets Crate
        • Amend Mailbox Permissions Crate
        • Billing Count Report Crate
        • Bulk Create Client from PSA Crate
        • Change a User’s Password Crate
        • Configure Organizational Variables Crate
        • ConnectWise PSA Agreement Mapping Crate
        • CWM: Technician Toolbox via Pod Crate
        • Document M365 environment Crate
        • Document Group Details V2 Crate
        • Document M365 Shared Mailbox Details V2 Crate
        • Document Rewst Form URLs (IT Glue/Hudu) Crate
        • Document User Details V2 Crate
        • Export Intune Policies and Configurations Crate
        • Identify Users in Bypass Mode Crate
        • Just in Time Admin Access Crate
        • M365 CSP/GDAP Permission Checker Crate
        • M365: Generate Org Chart Crate
        • Manage Duo Phones Crate
        • Mass Update Org Variables via CSV Crate
        • Microsoft 365 Quarantine Email Release Crate
        • Microsoft: User Offboarding Crate
        • Microsoft: User Onboarding Crate
          • Onboarding Crate process overview
          • Onboarding Identity provider configuration and setup
          • Onboarding form inputs and workflow process
          • Expanded features and customizing the Onboarding Crate
          • Onboarding context and organizational variables reference
          • Test and troubleshoot the Onboarding crate
        • New User Onboarding Crate
          • Identity provider setup - new user add
          • Step 1: Setting up organization variables
          • Step 2: New user onboarding form
          • Step 3: New user onboarding form minimalistic
        • Notify on Conditional Access Policy Changes Crate
        • OpenAI Ticket Categorization Crate
        • OpenAI Ticket Sentiment Analysis Crate
        • Remove Malicious Email and Block Sender Crate
        • Time Savings Report Crate
        • Triage SentinelOne Threat Alerts Crate
        • User Offboarding V2 Crate
        • View Rewst integration Org Variables
    • Configuration
      • Integrations
        • Top 5 integration types : Get started with integrations in Rewst
        • Multi-instance integration
          • Multi-instance integration setup
          • Integrate multiple instances of the same integration
        • Custom integrations
          • Custom integrations: V2
          • Custom integrations: V1
        • Integration guides
          • Acronis integration
          • Addigy integration
          • Anthropic integration
          • Asana integration
          • Auvik integration
          • BambooHR integration
          • Bitdefender GravityZone integration
          • BYOD for options generators
          • Cisco Meraki integration
          • ConnectSecure integration
          • ConnectWise Automate integration
          • ConnectWise PSA integration
          • ConnectWise ScreenConnect integration
          • Cork integration
          • Cove integration
          • CrowdStrike integration
          • Database integration setup
          • Datto Autotask PSA integration
          • Datto RMM integration
          • Discord integration
          • DNSFilter integration
          • Duo integration setup
          • Freshdesk integration
          • GitHub integration
          • GoDaddy integration
          • Google admin
            • Google Enterprise License Manager integration setup
            • Google Workspace Admin integration setup
          • HaloPSA integration
          • HubSpot integration
          • Hudu integration
          • Huntress integration
          • ImmyBot integration
          • Ingram Micro integration setup
          • IT Glue integration
          • ITPortal integration
          • Jira integration
          • JumpCloud integration
          • Kaseya BMS integration
          • Kaseya VSA integration
          • Kaseya VSA X integration
          • Liongard integration
          • Mailgun integration setup
          • Microsoft Cloud integration bundle
            • Prerequisites and best practices for Microsoft integrations
            • Owned app registration
            • Migrate legacy Microsoft integrations
            • Microsoft Azure
              • Microsoft Azure integration setup
              • Azure actions
            • Microsoft Graph
              • Microsoft Graph integration setup
              • Graph actions
              • Graph subscriptions
              • Send mail as an impersonated user using Microsoft Graph API
            • Microsoft CSP
              • Microsoft CSP integration setup
              • Rewst user setup and GDAP relationship guidance
              • Add a new client via Microsoft Cloud Solution Provider
            • Microsoft Exchange Online
              • Microsoft Exchange Online
              • Exchange Online and multi-property values
            • Microsoft Cloud permissions
            • Common issues with the Microsoft Cloud integration bundle
              • Embracing the Microsoft Minute
              • Troubleshooting installation issues
              • Graph error when using Sendmail as impersonated user
              • Navigating the Microsoft-led transition to GDAP (2023)
          • N-able N-central integration
          • N-able N-sight integration
          • Nerdio integration
          • NinjaOne integration
          • Nodeware integration
          • Notion integration
          • Okta integration setup
          • OpenAI
            • OpenAI integration
            • Azure OpenAI integration setup
          • Pax8 integration
          • Proofpoint integration
          • QuickBooks Online integration
          • SaaS Alerts integration
          • SentinelOne integration
          • ServiceNow integration
          • Sherweb integration
          • Shortcut integration
          • Slack integration
          • Slide integration
          • SonicWall NSM integration
          • Sophos integration
          • Stripe integration
          • SuperOps integration
          • SyncMonkey integration
          • Synnex Australia integration
          • TD Synnex Stellr integration
          • TD Synnex StreamOne Ion integration
          • Traceless integration
          • Twilio integration
          • Webroot integration
          • Xero integration
      • Organizations and organization variables
    • Rewst Tools
      • The Live Editor
      • PowerShell interpreter
    • Settings
      • Users
      • Organizations
      • Permissions and roles
      • Tags
    • Jinja
      • Intro to Jinja
      • Jinja essentials
      • Data types
      • List of Jinja filters
      • Jinja filter examples
      • Common Jinja examples
        • Conditional statements and logical operators
        • Jinja macros
        • Date-time comparisons
        • Block scope
        • Try/catch blocks
        • Generate CSVs dynamically with Jinja
        • Split strings, replace characters, and combine strings
        • Dictionary unpacking
        • Loops in Jinja
        • Mimick switch statements in Jinja
      • Jinja use cases and best practices
        • Work with Jinja lists
        • Combine Jinja lists
        • Jinja reserved keywords
        • Collect CTX variables dynamically using Jinja
        • Efficiently extract nested data
      • Internal Rewst Jinja examples
      • Use PowerShell scripts in Rewst
    • Agent Smith
      • Agent Smith configuration overview
      • Deploy Agent Smith with ImmyBot
      • Deploy Agent Smith with Microsoft Intune
  • Security
    • Incoming and outgoing domains and IPs
  • Terms and Definitions
    • Glossary of terms
  • Updates
    • Rewst Open Mic
      • Sign up to present at any Open Mic
      • Rewst Open Mics: North America
        • 2025 Rewst Open Mics: North America
          • May 16, 2025: Secure Your Help Desk with Face Match Automation
          • May 9, 2025: No Webhook? No Problem - Automating Microsoft Bookings with Emails
          • May 2, 2025: How One Trick Tamed This Workflow Builder's Chaos
          • April 25, 2025: From Guesswork to Gold – Automating Client Profitability with Precision
          • April 11, 2025:
          • April 4, 2025: Powershell in Rewst Preview
          • March 28, 2025: How Little Changes and Small Updates Bring BIG Value
          • March 21, 2025: Showing the First Workflow We Ever Made
          • March 14, 2025: An M365 Special! Workflows that Focus on Microsoft 365!
          • March 7, 2025: Microsoft Now Auditing P1 Licenses Usage
          • February 28, 2025: Cleanup Your Stale Devices with This Automation
          • February 21, 2025: Live from Right of Boom 2025, It's the Weekly ROC Open Mic!
          • February 14, 2025: Valentine's Day Edition
          • February 7, 2025: It's Official! Rewst Now Supports Agent Smith!
          • January 31, 2025: Aharon has some big news about platform improvments
          • January 24, 2025: Migration & compliance workflows... What's the cluck about powershell?
          • January 17, 2025: Cloudflare, Compliance, and Pro Tips
          • January 10, 2025: Simple Automation Demos, Device Lookups, and Payment Notificaitons
          • January 3, 2025: Pax8 OAuth, Connecting Multiple Products, GitHub Challenges
        • 2024 Rewst Open Mics: North America
          • December 27, 2024: Aharon Intro Quiz, Workflow Hacks, GraphQL Insights
          • December 20, 2024: MFA Updates, Onboarding, Vehicle Status & Bookings
          • December 13, 2024: JIT Crates, Faster Debugging, and API Wins
          • December 6, 2024: Mastering Patch Management, Budget Alerts, and Ticket Assignments
          • November 28, 2024 - How Listening to Your Workflows Can Improve Your Automations
          • November 22, 2024 - Efficiency Boosts, Password Insights, and D&D
          • November 15, 2024 - Mark Your Calendars for June 24 - June 26, 2025
          • November 8, 2024 - Live from ITNation 2024, it's the Open Mic!
          • November 1, 2024 - Free Remote Control by Automating RustDesk
          • October 25, 2024 - Oh? See What Just Hatched!
          • October 18, 2024 - The Teams Bot That Does Literally Everything
          • October 11, 2024 - Unlock Hidden Azure AD Data with this GENIUS Workflow Trick
          • October 4, 2024 - When This Integration Tells Rewst To Do Things For It
          • September 27, 2024 - 3 Examples of Automations that Help with Ticket Management
          • September 20, 2024 - How to Help The ROC Help You
          • September 13, 2024 - See How to Seamless Sync Calendly Events and Tickets with Rewst
          • September 6, 2024 - See This Custom Cloud Backup Integration Implemented in Rewst
          • August 30, 2024 - The Automation Rewst Uses to Introduce New Employees
          • August 23, 2024 - Build Workflows With Your Friends With This Upcoming Feature
          • August 16, 2024 - The Behind the Scenes of CyberDrain's CTF
          • August 9, 2024 - Aharon Makes a Huge Announcement
          • August 2, 2024 - Provision the Entire Microsoft Teams Bot Framework with a Single Form
          • July 26, 2024 - Transform Your ConnectWise Experience with App Platform
          • July 19, 2024 - What Everyday Life Can Teach Us About Automation
          • July 12, 2024 - We've Been Trying to Reach You Regarding Your Device's Extended Warranty
          • July 5, 2024 - Freedom to Innovate Day!
          • June 28, 2024 - Still Wondering About the Token from FLOW?
          • June 21, 2024 - Post FLOW Glow
          • June 14, 2024 - The One Trick That Boosts Your Screen Share Experience in Teams by 10X
          • June 7, 2024 - Discover the Lessons Your Workflows are Trying to Teach You
          • May 31, 2024 - Simplify Organization Variables by 10X With This 1 Trick
          • May 24, 2024 - ImmyBot + Rewst = Better Together
          • May 17, 2024 - Solve All Your Meal Prep Problems With This Automation
          • May 10, 2024 - The Most Requested Integration has Finally Been Added to Rewst
          • May 3, 2024 - The Flow Announcement that Made Our Marketing Team Nervous
          • April 26, 2024 - Come See What Pizza's Cooked Up
          • April 19, 2024 - Bring Back Negative Time Savings or Implement Folders?
          • April 12, 2024 - Hey Siri, Make a Ticket! Alexa, Close My Ticket
          • April 5, 2024 - The Microsoft Bundle You Can't Miss Out On
          • March 22, 2024 - App Platform Maddness
          • March 15, 2024 - What to Automate First When Getting Started with Rewst?
          • March 8, 2024 - Live from Right of Boom, it's the ROC Open Mic
          • March 1, 2024 - Early Bird Specials for Flow in the Kewp
          • February 23, 2024 - Pardon My Jinja
          • February 16, 2024 - Pizza's Cooking in the Oven
          • February 9, 2024 - Becoming a Jinja Ninja with the New Live Editor
          • February 2, 2024 - Inside the Eye of the Brainstrom
          • January 26, 2024 - New Feature On the Horizon + App Platform Demos
          • January 19, 2024 - Beta Features, Webhooks, and a Journey through Workflow Creation
          • January 12, 2024 - Alpha App Platform Demos
          • January 5, 2024 - Happy New Year! Azure Tables and GDAP Troubleshooting
        • 2023 Rewst Open Mics: North America
          • January 6, 2023 - Capacity Alert - Your Inbox is at 99%
          • January 13, 2023 - Form Management, Asset Management and Tag Management
          • January 20, 2023 - Backend Re-Architecture Episode II - Attack of the Clones
          • January 27, 2023 - Rewst User Creation Inception and Automating Package Deliveries
          • February 3, 2023 - AI generated diagnostics!
          • February 10, 2023 - Todays Description Brought to You by ChatGPT
          • February 17, 2023 - Trigger Review and QA
          • February 24, 2023 - NC20 and R0C2 Show Off Auvik Integration and Workflows
          • March 3, 2023 - New Webhooks, Tracking Steam Deals, and Templates? Oh my!
          • March 10, 2023 - Get those workflows in line
          • March 17, 2023 - Email tracking, workflow listening and URL parametering
          • March 24, 2023 - The Truly Open Mic - Coming back from the Onsite
          • March 31, 2023 - All Hail King Brandon (from eTop)
          • April 7, 2023 - Tech Talk - GitHub, Azure OpenAI, and Improving User Experience
          • April 14, 2023 - Introducing Cluck U!
          • April 21, 2023 - [Redacted] and Custom Integrations
          • April 28, 2023 - Tools and Techniques for Streamlining Workflows and Building Relationships
          • May 5, 2023 - New Integrations, Epic Workflows, and Exciting things to come!
          • May 12, 2023 - The Legend of Rewst - Unsupported Custom Integrations (and more!)
          • May 19, 2023 - Custom Integrations are live and Custom Workflows from Customers and Partner Service
          • May 26, 2023 - Automation and Terrifying Space Chickens
          • June 2, 2023 - New Beginnings and Saving time with Rewst
          • June 9, 2023 - Automation Doesn't Have To Be Like Pulling Teeth
          • June 23, 2023 - Will The Real Aharon Chernin Please Stand Up?
          • June 16, 2023 - The Toasted Kelvin and Brandon Brandwich
          • June 30, 2023 - No Brandwich But It's Still Chowtime
          • July 7, 2023 - Fowl Play with OpenAI and Azure OpenAI
          • July 14, 2023 - Go Hug Your IT Person
          • July 21, 2023 - Transform(er)s – Jinja in Disguise
          • July 28, 2023 - Who's that Docu-mon? It's GitBook!
          • August 4, 2023 - Aharon on a Plane
          • August 11, 2023 - If You Smell What the ROC is Cooking
          • August 18, 2023 - Info Nuggets and Jinja Burgers
          • August 25, 2023 - Looks like Brandwich's Back On the Menu
          • September 1, 2023 - Applying Cube Rules of Food to Automations
          • September 8, 2023 - Special Guest Automation from Down Under
          • September 15, 2023 - If You Smell What The ROC Is Cooking Pt.2
          • September 22, 2023 - Efficient Onboarding, Custom Integrations, and SQL Magic
          • September 29, 2023 - No Microtransactions with These New Crates
          • October 6, 2023 - MFA Buffet
          • October 13, 2023 - Mail Tracking, Error Handling, and Onsite Requests
          • October 20, 2023 - Sophos Firmware Updates, CSP Connectors, and GDAP Documentation Workflows
          • October 27, 2023 - Rewst API w/ Webhooks, Email Signatures, Content Filters, and Secret Santa
          • November 3, 2023 - Huge Rewst Announcements You Can’t Miss Out On
          • November 17, 2023 - Domo Arigato, Rewsty Roboto
          • December 1, 2023 - App Platform, Ticket Generation, and Custom Integrations
          • December 8, 2023 - Never Send a Human to Do a Machine's Job
          • December 15, 2023 - Compromised Users, Automated Documentation, and Troubleshooting Errors
          • December 22, 2023 - Simply Having a Wonderful Rewsty Time
          • December 29, 2023 - Last Open Mic of 2023!
          • July 14, 2023 - Go Hug Your IT Person
          • November 24, 2023 - Thanksgiving Edition, Canadian Takeover
        • 2022 Rewst Open Mics: North America
          • May 27, 2022 - Graph API
          • June 3, 2022 - Connectwise Pods
          • June 10, 2022 - Interactive Teams Messages
          • June 24, 2022 - The Rewst Crate Marketplace
          • June 17, 2022 - How to use Jinja in Rewst
          • July 1, 2022 - Leaping and Looping through your data
          • July 8, 2022 - New ways to deal with data and client example workflows!
          • July 15, 2022 - The Rewst platform and how to use DateTime comparisons in Jinja
          • July 22, 2022 - How can you utilise webhooks in Rewst?
          • July 29, 2022 - How do you know that the person on the phone is who they say?
          • August 5, 2022 - SUPER AWESOME NEW FEATURE!
          • August 12, 2022 - New Results Page
          • August 19, 2022 - Friendly Password Generator & ROC Assistance
          • August 26, 2022 - Data retention & Cron Jobs
          • September 2, 2022 - Debugging Workflows
          • September 9, 2022 - Microsoft 365 Delegation
          • September 16, 2022 - Immybot & Parse ticket data
          • September 23, 2022 - Context Switching
          • October 7, 2022 - ConnectWise Manage Agreement Sync
          • October 14, 2022 - QOL Changes & With Items Walkthrough
          • October 21, 2022 - Bring! Your! Own! Database!
          • October 28, 2022 - ImmyBot & User Offboarding
          • November 4, 2022 - Your Workflows are Listening 👀
          • November 18, 2022 - Jinja Conditions in Templates / Scripts
          • December 2, 2022 - Using custom HTTP requests (HaveIBeenPwned) with your existing integrations
          • December 9, 2022 - Jinja expansion. Plus, Mendy & Jared!
          • December 16, 2022 - Tackle tough ticket triage troubles and flatten funkily formatted lists
      • Rewst Open Mics: Europe
        • 2025 Rewst Open Mics: Europe
          • May 1, 2025: Auto-Document Everything with This Brilliant IT Glue Automation!
          • April 3, 2025: The Very First EU Open Mic!
      • ROC Open Mics: Oceania
        • 2025 Rewst Open Mics: Oceania
          • May 2, 2025: Smarter Microsoft Integrations & Workflows – Tips from the Rewst Open Mic
          • April 4, 2025: The Very First ANZ Open Mic!
    • Development updates
      • 2025 Dev updates
        • May 23, 2025 - Dev update
        • May 16, 2025 - Dev update
        • May 9, 2025 - Dev update
        • May 2, 2025 - Dev update
        • April 25, 2025 - Dev update
        • April 18, 2025 - Dev update
        • April 11, 2025 - Dev update
        • April 4, 2025 - Dev update
        • March 28, 2025 - Dev update
        • March 21, 2025 - Dev update
        • March 14, 2025 - Dev update
        • February 28, 2025 - Dev update
        • February 21, 2025 - Dev update
        • February 14, 2025 - Dev update
        • February 7, 2025 - Dev update
        • January 24, 2025 - Dev update
        • January 17, 2025 - Dev update
        • January 10, 2025 - Dev update
      • 2024 Dev updates
        • December 27, 2024 - Dev update
        • December 20, 2024 - Dev update
        • December 13, 2024 - Dev update
        • December 6, 2024 - Dev update
        • November 29, 2024 - Dev update
        • November 8, 2024 - Dev Update
        • October 25, 2024 - Dev Update
        • October 18, 2024 - Dev Update
        • October 11, 2024 - Dev Update
        • October 4, 2024 - Dev Update
        • September 27, 2024 - Dev Update
        • September 13, 2024 - Dev Update
        • September 6, 2024 - Dev Update
        • August 30, 2024 - Dev Update
        • August 23, 2024 - Dev Update
        • August 16, 2024 - Dev Update
        • August 9, 2024 - Dev Update
          • August 2, 2024 - Dev Update
        • July 26, 2024 - Dev Update
        • July 19, 2024 - Dev Update
        • July 12, 2024 - Dev Update
        • July 5, 2024 - Dev Update
        • June 28, 2024 - Dev Update
        • June 14, 2024 - Dev Update
        • June 7, 2024 - Dev Update
        • May 31, 2024 - Dev Update
        • May 24, 2024 - Dev Update
        • May 17, 2024 - Dev Update
        • May 10, 2024 - Dev Update
        • May 3, 2024 - Dev Update
        • April 26, 2024 - Dev Update
        • April 19, 2024 - Dev Update
        • April 12, 2024 - Dev Update
        • April 5, 2024 - Dev Update
        • March 22, 2024 - Dev Update
        • March 8, 2024 - Dev Update
        • March 1, 2024 - Dev Update
        • February 23, 2024 - Dev Update
        • February 16, 2024 - Dev Update
        • February 9, 2024 - Dev Update
        • February 2, 2024 - Dev Update
        • January 19, 2024 - Dev Update
        • January 12, 2024 - Dev Update
        • January 5, 2024 - Dev Update
      • 2023 Dev updates
        • December 29, 2023 - Dev Update
        • December 22, 2023 - Dev Update
        • December 15, 2023 - Dev Update
        • December 8, 2023 - Dev Update
        • December 1, 2023 - Dev Update
        • November 17, 2023 - Dev Update
        • November 3, 2023 - Dev Update
        • October 27, 2023 - Dev Update
        • October 20, 2023 - Dev Update
        • October 13, 2023 - Dev Update
        • October 6, 2023 - Dev Update
        • September 29, 2023 - Dev Update
        • September 22, 2023 - Dev Update
        • September 8, 2023 - Dev Update
        • September 1, 2023 - Dev Update
        • August 25, 2023 - Dev Update
        • August 18, 2023 - Dev Update
        • August 11, 2023 - Dev Update
        • August 4, 2023 - Dev Update
        • July 28, 2023 - Dev Update
        • July 21, 2023 - Dev Update
        • July 14, 2023 - Dev Update
        • July 7, 2023 - Dev Update
        • June 30, 2023 - Dev Update
        • June 23, 2023 - Dev Update
        • June 16, 2023 - Dev Update
        • June 9, 2023 - Dev Update
        • June 2, 2023 - Dev Update
        • May 26, 2023 - Dev Update
        • May 19, 2023 - Dev Update
        • May 12, 2023 - Dev Update
        • May 5, 2023 - Dev Update
        • April 28, 2023 - Dev Update
        • April 21, 2023 - Dev Update
        • April 14, 2023 - Dev Update
        • March 31, 2023 - Dev Update
        • March 17, 2023 - Dev Update
        • March 10, 2023 - Dev Update
        • March 3, 2023 - Dev Update
        • February 24, 2023 - Dev Update
        • February 17, 2023 - Dev Update
        • February 10, 2023 - Dev Update
        • February 3, 2023 - Dev Update
        • January 27, 2023 - Dev Update
        • January 20, 2023 - Dev Update
        • January 13, 2023 - Dev Update
        • January 6, 2023 - Dev Update
      • 2022 Dev updates
        • December 16, 2022 - Dev Update
        • December 9, 2022 - Dev Update
        • December 2, 2022 - Dev Update
        • November 18, 2022 - Dev Update
        • November 4, 2022 - Dev Update
        • October 28, 2022 - Dev Update
    • Training updates
      • 2025 Training updates
        • May 23, 2025 - Training update
        • May 16, 2025 - Training update
        • May 9, 2025 - Training update
        • May 2, 2025 - Training update
        • April 25, 2025 - Training update
        • April 11, 2025 - Training update
        • April 4, 2025 - Training update
        • March 28, 2025 - Training update
        • March 21, 2025 - Training update
        • March 14, 2025 - Training update
        • March 7, 2025 - Training update
        • February 28, 2025 - Training update
        • February 21, 2025 - Training update
        • February 14, 2025 - Training update
        • February 7, 2025 - Training update
        • January 31, 2025 - Training update
        • January 17, 2025 - Training update
        • January 10, 2025 - Training update
        • January 3, 2025 - Training update
      • 2024 Training updates
        • December 20, 2024 - Training Update
        • December 13, 2024 - Training Update
        • December 6, 2024 - Training Update
        • November 22, 2024 - Training Update
        • November 15, 2024 - Training Update
        • November 8, 2024 - Training Update
        • November 1, 2024 - Training Update
        • October 25, 2024 - Training Update
        • October 18, 2024 - Training Update
        • October 11, 2024 - Training Update
        • October 4, 2024 - Training Update
        • September 27, 2024 - Training Update
        • September 20, 2024 - Training Update
        • September 13, 2024 - Training Update
        • September 6, 2024 - Training Update
        • August 30, 2024 - Training Update
        • August 23, 2024 - Training Update
        • August 16, 2024 - Training Update
        • August 9, 2024 - Training Update
        • August 2, 2024 - Training Update
        • July 26, 2024 - Training Update
        • July 19, 2024 - Training Update
        • July 12, 2024 - Training Update
        • June 28, 2024 - Training Update
        • June 14, 2024 - Training Update
        • June 7, 2024 - Training Update
        • May 31, 2024 - Training Update
        • May 24, 2024 - Training Update
        • May 17, 2024 - Training Update
        • May 10, 2024 - Training Update
        • May 3, 2024 - Training Update
        • April 26, 2024 - Training Update
        • April 19, 2024 - Training Update
        • April 12, 2024 - Training Update
        • April 5, 2024 - Training Update
        • March 22, 2024 - Training Update
        • March 15, 2024 - Training Update
        • March 8, 2024 - Training Update
        • March 1, 2024 - Training Update
        • February 23, 2024 - Training Update
        • February 16, 2024 - Training Update
        • February 9, 2024 - Training Update
        • February 2, 2024 - Training Update
        • January 19, 2024 - Training Update
        • January 12, 2024 - Training Update
        • January 5, 2024 - Training Update
      • 2023 Training updates
        • December 15, 2023 - Training Update
        • December 8, 2023 - Training Update
        • December 1, 2023 - Training Update
        • November 24, 2023 - Training Update
        • November 17, 2023 - Training Update
        • November 3, 2023 - Training Update
        • October 27, 2023 - Training Update
        • October 20, 2023 - Training Update
        • October 13, 2023 - Training Update
        • October 6, 2023 - Training Update
        • September 29, 2023 - Training Update
        • September 22, 2023 - Training Update
        • September 15, 2023 - Training Update
        • September 8, 2023 - Training Update
        • September 1, 2023 - Training Update
        • August 25, 2023 - Training Update
        • August 18, 2023 - Training Update
        • August 11, 2023 - Training Update
        • August 4, 2023 - Training Update
        • July 21, 2023 - Training Update
        • July 14, 2023 - Training Update
        • July 7, 2023 - Training Update
        • June 30, 2023 - Training Update
        • June 23, 2023 - Training Update
        • June 16, 2023 - Training Update
        • June 9, 2023 - Training Update
        • June 2, 2023 - Training Update
        • May 26, 2023 - Training Update
        • May 19, 2023 - Training Update
        • May 12, 2023 - Training Update
        • May 5, 2023 - Training Update
        • April 28, 2023 - Training Update
        • March 17, 2023 - Training Update
        • March 10, 2023 - Training Update
        • January 27, 2023 - Training Update
        • January 13, 2023 - Training Update
        • January 6, 2023 - Training Update
        • July 28, 2023 - Training Update
      • 2022 Training updates
        • December 16, 2022 - Training Update
        • December 2, 2022 - Training Update
        • November 18, 2022 - Training Update
        • November 4, 2022 - Training Update
        • October 28, 2022 - Training Update
        • November 4, 2022 - Training Update
        • October 28, 2022 - Training Update
    • Crate Marketplace updates
      • 2025 Crate Marketplace updates
        • May 23rd, 2025 - Marketplace Update
        • May 16th, 2025 - Marketplace Update
        • May 9th, 2025 - Marketplace Update
        • May 2nd, 2025 - Marketplace Update
        • April 25th, 2025 - Marketplace Update
        • April 11th, 2025 - Marketplace Update
        • April 4th, 2025 - Marketplace Update
        • March 28th, 2025 - Marketplace Update
        • March 14th, 2025 - Marketplace Update
        • February 28th, 2025 - Marketplace Update
        • February 21st, 2025 - Marketplace Update
        • February 14th, 2025 - Marketplace Update
        • February 7th, 2025 - Marketplace Update
        • January 31st, 2025 - Marketplace Update
        • January 17th, 2025 - Marketplace Update
        • January 10th, 2025 - Marketplace Update
        • January 3rd, 2025 - Marketplace Update
      • 2024 Crate Marketplace updates
        • December 20th, 2024 - Marketplace Update
        • December 13th, 2024 - Marketplace Update
        • December 6th, 2024 - Marketplace Update
        • November 29th, 2024 - Marketplace Update
        • November 22nd, 2024 - Marketplace Update
        • November 15th, 2024 - Marketplace Update
        • November 8th, 2024 - Marketplace Update
        • November 1st, 2024 - Marketplace Update
        • October 25th, 2024 - Marketplace Update
        • October 18th, 2024 - Marketplace Update
        • October 11th, 2024 - Marketplace Update
        • October 4th, 2024 - Marketplace Update
        • September 27th, 2024 - Marketplace Update
        • September 20th, 2024 - Marketplace Update
        • September 13th, 2024 - Marketplace Update
        • September 6th, 2024 - Marketplace Update
        • August 30th, 2024 - Marketplace Update
        • August 23rd, 2024 - Marketplace Update
        • August 16th, 2024 - Marketplace Update
        • August 2nd, 2024 - Marketplace Update
        • July 26th, 2024 - Marketplace Update
        • July 19th, 2024 - Marketplace Update
        • July 12th, 2024 - Marketplace Update
        • July 5th, 2024 - Marketplace Update
        • June 28th, 2024 - Marketplace Update
        • June 21st, 2024 - Marketplace Update
        • June 14th, 2024 - Marketplace Update
        • June 7th, 2024 - Marketplace Update
        • May 31st 2024 - Marketplace Update
    • App Builder AMAs
      • 2025 App Builder AMAs
        • Mar 5, 2025: A New Project Manager Has Appeared
        • Feb 19, 2025: A Custom Customer Portal and Making Rewst inside of Rewst
        • Feb 5, 2025: Rewst App Builder updates + live demo of new options filter
        • Jan 8, 2025: Portals, Features, Design Updates, and Future Plans
      • 2024 App Builder AMAs
        • Nov 27, 2024: Workflow management in App Builder, plus permissions and role-based access
        • Nov 13, 2024: Cloning, app Crates, syncing custom components, and app list page enhancements
        • Oct 30, 2024: App Builder team progress, meet Sarah, and import and export features
        • Oct 16, 2024: Client portal use cases
        • Oct 2, 2024: New client onboarding, high ticket listing
        • Sept 18, 2024: Our first App Builder AMA
    • Alerts
  • Support and Community
    • Rewst support
      • Support priorities
      • Scope of support
      • Discord join and verification
      • Create a ticket via Discord
      • Collecting diagnostics with browser developer tools
      • Find your Rewst instance region
      • Rewst support: Allow write access
    • Cluck University
  • Contact resources
Powered by GitBook

Follow

  • 🤖 GitHub

Get support

  • 👾 Discord

Request a feature

  • 💡 Canny

© 2025 Rewst

On this page
  • Use PowerShell in Rewst
  • What is PowerShell?
  • How is PowerShell incorporated into Rewst?
  • Why use PowerShell in Rewst?
  • Cost considerations
  • Resource naming conventions
  • Setup: deploy PowerShell interpreters
  • What gets created
  • Use a parent organization’s Azure
  • How to use PowerShell in Rewst
  • In the Live Editor
  • In workflow components
  • PowerShell interpreter known issues list
  • Troubleshoot the PowerShell interpreter
  • Send us your feedback on PowerShell in Rewst

Was this helpful?

Edit on GitHub
  1. Documentation
  2. Rewst Tools

PowerShell interpreter

PreviousThe Live EditorNextSettings

Last updated 29 days ago

Was this helpful?

To use the PowerShell interpreter, you’ll first need to set up our, which contains the Azure integration.

PowerShell support is currently in beta, with general availability expected soon. We're gathering customer feedback to improve performance and expand context support. Scroll to the end of this page to view our current known issue list.

Use PowerShell in Rewst

Rewst now supports PowerShell as a scripting option, giving you a familiar and flexible alternative to Jinja. PowerShell code can run in workflows, transitions, and data aliases by using secure Azure-hosted Function Apps deployed via Rewst. This means:

  • You write PowerShell in the same places you’d use Jinja, like the Live Editor or within a workflow.

  • You start a block with the #ps header to tell Rewst to run that code using the PowerShell interpreter.

Note that all Crates in Rewst use Jinja only. To modify a Crate, you must use Jinja.

Rewst’s App Builder does not currently support the use of PowerShell.

PowerShell and Jinja can’t be mixed in the same code block.

What is PowerShell?

PowerShell is a command-line shell and scripting language used for automating tasks across Windows and other systems. Think of it as a way to write scripts that manage files, configure systems, and interact with services. It’s especially useful for MSPs who manage Microsoft-heavy organizations. If you’re new to Powershell, see .

How is PowerShell incorporated into Rewst?

When you use a #ps block:

  • Your code is sent to a dedicated Azure Function App tied to your Rewst org.

  • The app runs the script in an isolated PowerShell environment.

  • The result is returned to Rewst and used just like Jinja output would be.

Only CTX and RESULT objects are available as context inside PowerShell blocks.

In Rewst’s version of PowerShell, the return behavior is streamlined: whatever the last evaluated expression is, be it a string, variable or object, that’s what gets returned as the raw response. Unlike traditional PowerShell, where Write-Output may return multiple values throughout the script’s execution, the interpreter doesn’t collect all of those outputs. It only captures the final evaluated value. If you want to return multiple items, wrap them in an array or object and ensure that’s the last line in your script. For example:

$first = @{ Name = "Alpha"; ID = 1 }
$second = @{ Name = "Beta"; ID = 2 }
$results = @($first, $second)
$results  # <- This will be the returned value in Rewst

Why use PowerShell in Rewst?

If you already know your way around PowerShell, there’s a good chance that you’ve used it to script against systems like Active Directory, Exchange, Intune, or local machine configurations. Rewst now lets you tap into those skills directly, without needing to learn Jinja first.

Example: Onboard a new user across Microsoft tools

You’re an MSP admin, and a new hire just joined a client’s company. You need to:

  • Create an account in Microsoft Entra ID

  • Assign them to the correct security groups

  • Add a license in Microsoft 365

  • Apply a specific configuration profile in Intune

  • Notify the manager via Teams

With PowerShell in Rewst, you could:

  • Use #ps in a workflow task to create the user and assign licenses using New-MgUser and Set-MgUserLicense

  • Add a transition that checks if the PowerShell command returned successfully before continuing

  • Trigger a Teams message, or use Jinja if needed, to confirm that setup is complete

Since you're using Rewst workflows, you could plug this right into an intake form or ticket trigger to automate everything end-to-end.

Example: Automate recurring maintenance tasks

Let’s say every Friday, you:

  • Run disk cleanup scripts on on-prem servers

  • Export reports from Microsoft Exchange mailboxes

  • Update device compliance status in Intune

  • Rotate passwords in a privileged access system like CyberArk or Keeper

Using scheduled workflows and #ps blocks, you could:

  • Authenticate securely to each environment using credentials stored in Rewst

  • Run your PowerShell logic as you would on a jump box, but now in the cloud

  • Push results to Slack, a ticket, or even update the status in a custom dashboard

Example: Bridge Microsoft and non-Microsoft systems

You might already be using PowerShell to work with:

  • VMware or Hyper-V

  • SQL Server management

  • Custom REST APIs for backup software like Veeam or Datto

With the PowerShell interpreter in Rewst, you can:

  • Use #ps to query and transform data

  • Pass that result to a Jinja block for parsing or formatting

  • Chain it into third-party tools to complete tasks such as updating asset data in IT Glue, pushing events to SentinelOne, or enriching a ticket in ConnectWise PSA

Even if Rewst doesn’t have a built-in connector for something, PowerShell gives you the ability to script your way through it, just like you would in a local environment.

Cost considerations

Microsoft’s free tier allows for 1 million function executions, plus 400,000 GB-seconds of compute each month. Beyond those free limits, additional executions are billed according to Azure’s pay-as-you-go rates. Typically, these are fractions of a cent per million executions, plus memory usage.

  • For many Rewst customers who only run occasional PowerShell workflows, the monthly cost is minimal or effectively $0 since this number of executions will fall within the free tier.

  • Higher-traffic organizations can pay Microsoft anywhere from a few dollars to tens of dollars a month for function usage, depending on volume and script complexity.

Resource naming conventions

When creating an Azure Function App, the app name must be globally unique across all Azure tenants. This name is used not only for the Function App itself, but also for the associated App Service, storage account, and the app’s root URL.

To ensure uniqueness and avoid naming collisions, we use "rewstinterpreters" as the base name and append a UUID.

Setup: deploy PowerShell interpreters

To start using PowerShell, you’ll need to deploy an Azure Function App interpreter through Rewst. We use a ZIP deployment process for the Function App code.

Make sure that you have successfully set up the Microsoft Cloud integration bundle before attempting these steps.

  1. Navigate to Tools > Interpreters in the left side menu of your Rewst platform.

  2. Click PowerShell (Beta) to expand the accordion menu. The two drop-down fields within the menu will populate with options pulled from your Azure instance, to line up with your subscriptions.

  3. Click down carrot in the Subscription drop-down selector and choose your relevant subscription.

  4. Click down carrot in the Resource Group drop-down selector and choose your relevant resource group.

  5. Click Deploy.

    1. This process may take a few moments. An in-progress message will display while you wait. You can leave the page if desired, without interrupting the deployment.

    2. Once finished, a deployed message will appear at the bottom of the accordion menu, along with a Remove interpreter button. If deployment fails, a red error message will appear in a dialog on your screen.

What gets created

Rewst creates the following in your Azure environment during deployment of the interpreter:

  • A PowerShell 7.4-based Function App

  • A shared consumption App Service Plan

  • Application insights for logging

  • A Storage Account for keys and triggers

Use a parent organization’s Azure

If you don’t have Azure set up for your organization, you can override the Azure integration with a parent organization's configuration. This lets sub-orgs run PowerShell without duplicating infrastructure.

How to use PowerShell in Rewst

In the Live Editor

The Live Editor supports real-time PowerShell testing.

  1. Navigate to Tools > Live Editor.

  2. Click Jinja2 to switch the Live Editor over to PowerShell.

  3. Use #ps to start a PowerShell block:

   powershell
   CopyEdit
   #ps
   "Hello from PowerShell"

Remember, don’t mix PowerShell and Jinja in the same block. You can use both in the same workflow, just not together in one snippet.

In workflow components

powershell CopyEdit #ps "Hello from PowerShell"

PowerShell works in:

  • Tasks – e.g., for generating dynamic output

  • Transitions – e.g., to determine conditional logic

  • Data Aliases – e.g., when transforming or mapping data

Use #ps exactly as you would #jinja:

powershell
CopyEdit
#ps
if ($CTX.User.Name -eq "Alice") {
  return "VIP"
} else {
  return "Standard"
}

The #psl header

The interpreter also allows for a #psl header for line-by-line PowerShell. Currently its use is limited and not the focus of our first version of the PowerShell interpreter. Use #ps unless you're testing something specific.

Additional use considerations

  • Azure Function execution timeout for PowerShell is similar to that of Jinja. Expect 30-60 seconds for actions, and 10 seconds for parameters.

  • All output from PowerShell is processed as JSON. For best results, use ConvertTo-JSON when returning data.

PowerShell interpreter known issues list

  • JSON Parsing Error: Blocks accessing `$CTX.user` due to an empty property name error during serialization.

  • Subworkflow Hangs: PowerShell code hangs silently in subworkflows when the parent uses Integration Override, breaking complex structures.

  • Azure Region Quotas: Users hitting deployment failures in popular regions (like East US) because subscription quotas are `0`. Requires manually selecting other regions.

  • Process Timeouts: PowerShell scripts time out near completion, causing failed workflow renders. Needs longer timeout limits.

  • Auth/Refresh Errors: Users get `401` errors (or Python `_'str' object has no attribute 'get'_` errors) when authorizing or refreshing resource groups, blocking setup.

  • Module Persistence: Modules installed during a run don't persist, forcing users to reinstall them in scripts every time.

  • UI Syntax Highlighting: Requires double backslashes (`\\`) in the UI editor while actual PS code needs single (`\`), causing confusion.

  • Serialization Failures: Returning non-JSON serializable objects (e.g., from `New-Item`) causes errors even if the command worked. Requires explicit `ConvertTo-Json`.

  • Common PS Pitfalls: Users misusing `Write-Host` (doesn't return output), not using `finally` blocks for output, or using incorrect `ConvertTo-Json` pipe syntax.

  • Live Editor Friction: Users can enter the Live Editor for PowerShell before the required Azure setup is complete, leading to confusion.

Troubleshoot the PowerShell interpreter

If you encounter an error of The subscription is not registered to use namespace Microsoft.Storage, you may need to add providers in Azure to complete setup.

In Azure:

  1. Navigate to Home > Subscriptions.

  2. Register each of the following Resource Providers:

    1. Microsoft.Web

    2. Microsoft.Insight

    3. Microsoft.Storage

    4. Microsoft.Quota

    5. Microsoft.OperationalInsights

Send us your feedback on PowerShell in Rewst

Have questions or feedback? Reach out to Support or post in your dedicated Discord support channel. Suggest improvements or new features in our feedback collector.

Microsoft Cloud Bundle
Microsoft’s documentation here
Canny
The during-deployment message
Successful deployment messaging
The screen in Azure where you will register Resource Providers
Screenshot of the Microsoft Azure portal showing the "Resource providers" section for an MCP Subscription. The user has searched for "web," and the results display the "Microsoft.Web" provider. Its status is "Registering," and the "Registration Policy" is marked as "RegistrationRequired." On the left, a navigation menu is visible with sections like Overview, Activity log, Access control (IAM), Tags, Security, and Resource providers highlighted.