[REWST - TASK] Send User Password

This workflow securely distributes user passwords through multiple channels, SMS to users or email to supervisors, and updates PSA tickets accordingly, serving as a critical security-focused building block that can be incorporated into user onboarding, password reset, or account management processes.

MSPs will find this valuable during client employee onboarding, password resets after security incidents, and regular credential rotation scenarios where secure, documented password delivery is required to maintain compliance and security best practices.

Technically, the workflow first checks for organization variables to determine delivery preferences, then conditionally routes the password either via SMS directly to the end user or through email to a supervisor, followed by automatic PSA ticket updates to document the action and maintain audit trails for compliance purposes.

This workflow contains 10 tasks.

Inputs

  • email - string

    • User's email address

  • password - string

    • User's password to be sent

  • username - string

    • User's Username

  • ticket_id - string

    • Ticket ID

  • first_name - string

    • User's First Name

  • supervisor - string

    • Supervisor's Email Address

  • send_sms_to_user - boolean

    • Send SMS to user?

    • Default: {{ false}}

  • sms_with_country_code - string

    • SMS Phone Number with Country Code

  • send_supervisor_user_password - boolean

    • Send Supervisor User's Password

    • Default: {{ false}}

Outputs

  • success - Boolean; States if workflow was successful.

  • automation_log: Standardized Rewst automation log

Key tasks

  • check_send_supervisor_password: Communication/notification

  • send_sms_to_user: Communication/notification

  • sms_update_ticket: Data modification

  • send_sms_org_var_not_set: Communication/notification

  • check_send_sms: Communication/notification

Jinja examples

Example 1

{{ CTX.sms_with_country_code|d }}

Used in input for sms_number for send_sms_to_user task.

Example 2

{{ CTX.username|d }}

Used in input for username for send_password_to_supervisor task.

Last updated

Was this helpful?