Skip to content
Ashby

How to use Ashby

Cost: 1 credit per runTop 100 · #57Full guide

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

  1. 1In Ashby, open the admin settings and find the API keys section.
  2. 2Create a new key and grant it permissions for the modules you plan to use.
  3. 3In flooows add an Ashby step and click "Connect".
  4. 4Paste the key into the "API key" field and save the connection.
Connection fieldTypeRequired
API keySecret keyYes

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
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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