Enable the Workday App
Apps
in Cobalt and search for Workday and enable the app by clicking on the Go Live
button in the top right corner.Create a Linked Account
Param | Required | Type | Description |
---|---|---|---|
linked_account_id | Mandatory | String | Unique customer identifier |
name | Optional | String | Name of the customer |
Generate Session Token for your Linked Account
Open Hosted Portal Auth Flow
Authenticate Using Hosted Portal
Workflows
and create a new workflow by clicking on +Add Workflow
button and name it as Sync Employees
.
Data Import from Workday
Add Trigger in Start Node
Start Node
, select your native app option and click on + Create New Event
.Add Workday Node
Nodes
option in the top right and drag the Workday Node from Native Apps section to the workflow builder. Connect this node with Start Node.Fetch Employees from Workday using Action
Get Workers
action.Mapping Employee fields
+ Map Fields
under Input Parameters, add key name as employees
and in value we will provide the response received through Workday node which will be restructured.In Value
, select Nodes tab under Insert Variable and click on +
of the Workday Node.API Proxy in Workflow
Developer
> API Proxies
and click on New Action
. Configure an API endpoint, where you want to receive the response.If you want to test, go to webhook.site and copy Your unique URL
and configure this as a POST Request and Save
.Use API Proxy in Workflow
Save
.Workflows
and create a new workflow by clicking on +Add Workflow
button and name it as Create New Employee
.
Push Data to Workday
Add Trigger in Start Node
Start Node
, select your native app option and click on + Create New Event
.Add Workday Node
Nodes
option in the top right and drag the Workday Node from Native Apps section to the workflow builder. Connect this node with Start Node.Add Action in node
Create Employee
action.
To provide the data in all the fields from your Event payload, just click on a field and from the Event tab under Insert Variable, select the fields from the body that you sent as payload.Create Config for Linked Account
Application Slug
and linked_account_id
as mandatory fields for it. You can request in the following way:Enable Workflow
Third Step