What it is for
The Ashby component connects flooows with your recruiting system so you can work with its API: candidates, jobs, applications and more. Since it offers the Custom API Call action, you can reach any Ashby endpoint, for example to create candidates from a form or push hiring data into a spreadsheet.
Ashby has no triggers in flooows: use it as an action inside flows started by other triggers, such as a schedule or a form.
Set up the connection
Authentication type: Custom credentials
- 1In Ashby, open the admin settings and find the API keys section.
- 2Create a new key and grant it permissions for the modules you plan to use.
- 3In flooows add an Ashby step and click "Connect".
- 4Paste the key into the "API key" field and save the connection.
| Connection field | Type | Required |
|---|---|---|
| API key | Secret key | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Custom API Call: in "url" enter the path of the Ashby API endpoint you need (see their developer documentation).
- Choose the "Method" (the Ashby API mostly uses POST) and send a JSON "Body" with the parameters, mapping data from previous steps.
- Authentication is added automatically from your connection, so you do not need to add it in "Headers".
- Enable "Return Error as Output" to handle errors in later steps instead of stopping the flow.
Tips
- •Test the call to see the response structure before mapping it.
- •Give the key only the permissions it needs.
- •Combine the response with Data Mapper to reshape it for other tools.
Actions (1)
Operations available as flow steps. Expand each one to see its fields.
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
401 Unauthorized
The key is wrong or revoked; create a new one in Ashby and update the connection.
403 or permission denied
Add permissions for the module you are calling to the key.
400 Bad Request
Check the body JSON and parameter names against Ashby's documentation.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
