Send benefit summary data via API
What it does
When someone sends a POST request to the /benefitsummary endpoint with a plan number, this automation validates it against supported plans. The response returns the matching benefit summary data or an error message.
Who it's for
HR teams who need to retrieve benefit summary information through an API without manual lookups.
How teams use this
Retrieve benefit data for a specific plan
Someone queries the API with a plan number and receives the benefit summary instantly. HR staff can integrate this endpoint into their systems to show employees their plan details without manual research.
Validate plan numbers in employee onboarding
During onboarding, the system calls this endpoint to confirm the plan number is valid and active. Add a check in the onboarding workflow to verify the plan matches a supported option before creating the employee record.
Support multiple plan types across regions
The lookup table includes Medicaid HMO and SHP plans alongside standard plans. Set up the lookup table with plan data for all supported plan types so the API serves benefit summaries for different regional variations from one endpoint.
How it works
- Receive the POST request. Someone sends a POST request to the /benefitsummary endpoint with a plan number parameter. The Workato Api Platform receives the request and extracts the plan number for validation.
- Check if plan number exists. Verify that the plan number was included in the POST request. If missing, the automation logs an error and returns a response indicating the plan number is required.
- Match plan to benefit summary. Look up the plan number against supported plans including 01, 02, 20, 34, MEDICAIDHMO, and SHP in the Lookup Table. Return the corresponding benefit summary data for that plan.
- Send the response. Return the benefit summary data to the requester with the plan details. If the plan number does not match any supported plan, return an error message.