Update user email in Statestreet via REST
Recipe ToolsDeveloper ToolAPI Integration
What it does
When a new call arrives, this automation retrieves user details and validates the email address. If the email is present, properly formatted, and different from the Statestreet record, it updates the email and logs the result.
Who it's for
IT teams who need to keep user email addresses current in Statestreet without manual intervention.
Apps used
How teams use this
Keep employee emails synchronized
When HR updates an email in the source system, this automation validates and pushes it to Statestreet so employee records stay current. The team does not need to manually sync the two systems.
Audit all email changes for compliance
Every update attempt is logged to the audit table with the outcome, so the team can review what changed and when. This supports compliance and troubleshooting without extra work.
Reject invalid or duplicate emails
Add a check to filter out emails that do not meet corporate domain rules or that already exist in Statestreet. Only valid, unique addresses are sent to Statestreet.
How it works
- Receive a call to update user. A new call arrives for this automation with user information to process and validate.
- Fetch user details via REST. Retrieve user details from the source system using a REST call so the email can be validated and compared to the Statestreet record.
- Update email in Statestreet. Send the new email to Statestreet using a REST call when the email is present, valid, and differs from the existing address on file.
- Log result to audit table. Add an entry to the Statestreet_Userimport_Logs lookup table so the team has a record of what was processed and whether it succeeded.