See How Hire2Retire Can Drive Success for Your Organization |9th May 2025|

Integrate Custom Azure Functions into Hire2Retire with User Functions

With the Hire2Retire phase 8.4 release, Hire2Retire has added a new identity step, “User Functions,” for users to flexibly add Azure-hosted external scripts or subroutines to their workflows.

Employee Lifecycle Management just got more powerful with Hire2Retire Phase 8.4! With User Functions, users can now execute their own Azure functions in response to key lifecycle events like terminations, role updates, or hiring. This offers more flexibility, customizability, and control to the user over their workflows. Let’s understand what this feature is and how it can be useful.

What are User Functions?

User Functions and Azure Functions are custom, event-triggered scripts and code that don’t need external infrastructure to run. Acting as extensions to Hire2Retire workflows, User Functions can be defined to execute automatically when any specific event like role update or termination occurs.   

These functions run on the user’s Azure infrastructure, which is why the user can maintain full control over the scalability and security of these functions. 

How do User Functions work in Hire2Retire?

When integrated with Hire2Retire, User functions are executed at runtime, allowing dynamic interaction between the core workflow and your custom logic.  

You can link external links like Azure functions or User Functions to your workflow by following these simple steps: 

  • Step 1 – In the Identity section of your Hire2Retire workflow, go to the User Functions step.
  • Step 2 – Create a connection to the Entra ID Service Bus Account you want to integrate with and Link account.
  • Step 3 – Once connected, define the lifecycle (Onboard, Hire, Update, Terminate, etc.) that will trigger the User function. 
    Step 4 – Set attribute condition that will trigger the function. 
    Step 5 – Go to Input Configuration and map Map HR or identity attributes into the request headers and body, which will be sent to the Service Bus queue and later consumed by the user function.
    Step 6 – Go to Output Configuration and define the success and failure response on which Hire2Retire will listen.  
    Step 7 – Click Save. 

Once configured, your Azure functions will automatically run whenever the defined events occur.  

Why it Matters  

With User Functions, you can extend Hire2Retire core functionality. Whether you need to trigger reminders, process files or execute custom business logic, User Functions or Azure Functions can be of use.

Since everything runs on your Azure environment, you can stay assured of your scalability and security. Watch this video to know more. 

What are you waiting for?

Hire2Retire’s user functions bring enterprise-grade customization to your HR-IT workflows. Ready to transform your lifecycle management processes? Book a call with our Integration Specialist today and start your journey today towards streamlined business processes.

Want to Learn More?

To dive deeper into the features that have been added in the Hire2Retire Phase 8.4 release, read the RoboMQ blog post on Phase 8.4 here. 

Need to dive even deeper into the Phase 8.4 changes? See every change made in the Hire2Retire Phase 8.4 release notes. 

Picture of <strong>Somya Shrimal</strong>

Somya Shrimal

Somya Shrimal is a Marketing Specialist at RoboMQ. She is a tech enthusiast and a prolific blogger who helps businesses stay up-to-date with the latest trends and best practices in the industry. Her expertise in SaaS, cloud, on-premises apps, and IoT has made her a go-to source for businesses looking to navigate the ever-changing tech landscape.