@@ -1337,3 +1337,188 @@ Updates an existing candidate record in Ashby. Only provided fields are changed.
13371337| ` nextSyncCursor ` | string | Ashby's syncToken for the next incremental List Jobs run, exposed as a cursor so it stays readable in block output |
13381338
13391339
1340+
1341+ ## Triggers
1342+
1343+ A ** Trigger** is a block that starts a workflow when an event happens in this service.
1344+
1345+ ### Ashby Application Submitted
1346+
1347+ Trigger workflow when a new application is submitted
1348+
1349+ #### Configuration
1350+
1351+ | Parameter | Type | Required | Description |
1352+ | --------- | ---- | -------- | ----------- |
1353+ | ` apiKey ` | string | Yes | API Key |
1354+
1355+ #### Output
1356+
1357+ | Parameter | Type | Description |
1358+ | --------- | ---- | ----------- |
1359+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1360+ | ` application ` | object | application output from the tool |
1361+ | ↳ ` id ` | string | Application UUID |
1362+ | ↳ ` createdAt ` | string | Application creation timestamp \( ISO 8601\) |
1363+ | ↳ ` updatedAt ` | string | Application last update timestamp \( ISO 8601\) |
1364+ | ↳ ` status ` | string | Application status \( Active, Hired, Archived, Lead\) |
1365+ | ↳ ` candidate ` | object | candidate output from the tool |
1366+ | ↳ ` id ` | string | Candidate UUID |
1367+ | ↳ ` name ` | string | Candidate name |
1368+ | ↳ ` currentInterviewStage ` | object | currentInterviewStage output from the tool |
1369+ | ↳ ` id ` | string | Current interview stage UUID |
1370+ | ↳ ` title ` | string | Current interview stage title |
1371+ | ↳ ` stageType ` | string | Current interview stage type \( e.g., Lead, Applied, Interview, Offer\) |
1372+ | ↳ ` job ` | object | job output from the tool |
1373+ | ↳ ` id ` | string | Job UUID |
1374+ | ↳ ` title ` | string | Job title |
1375+
1376+
1377+ ---
1378+
1379+ ### Ashby Candidate Deleted
1380+
1381+ Trigger workflow when a candidate is deleted
1382+
1383+ #### Configuration
1384+
1385+ | Parameter | Type | Required | Description |
1386+ | --------- | ---- | -------- | ----------- |
1387+ | ` apiKey ` | string | Yes | API Key |
1388+
1389+ #### Output
1390+
1391+ | Parameter | Type | Description |
1392+ | --------- | ---- | ----------- |
1393+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1394+ | ` candidate ` | object | candidate output from the tool |
1395+ | ↳ ` id ` | string | Deleted candidate UUID |
1396+
1397+
1398+ ---
1399+
1400+ ### Ashby Candidate Hired
1401+
1402+ Trigger workflow when a candidate is hired
1403+
1404+ #### Configuration
1405+
1406+ | Parameter | Type | Required | Description |
1407+ | --------- | ---- | -------- | ----------- |
1408+ | ` apiKey ` | string | Yes | API Key |
1409+
1410+ #### Output
1411+
1412+ | Parameter | Type | Description |
1413+ | --------- | ---- | ----------- |
1414+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1415+ | ` application ` | object | application output from the tool |
1416+ | ↳ ` id ` | string | Application UUID |
1417+ | ↳ ` createdAt ` | string | Application creation timestamp \( ISO 8601\) |
1418+ | ↳ ` updatedAt ` | string | Application last update timestamp \( ISO 8601\) |
1419+ | ↳ ` status ` | string | Application status \( Hired\) |
1420+ | ↳ ` candidate ` | object | candidate output from the tool |
1421+ | ↳ ` id ` | string | Candidate UUID |
1422+ | ↳ ` name ` | string | Candidate name |
1423+ | ↳ ` currentInterviewStage ` | object | currentInterviewStage output from the tool |
1424+ | ↳ ` id ` | string | Current interview stage UUID |
1425+ | ↳ ` title ` | string | Current interview stage title |
1426+ | ↳ ` stageType ` | string | Current interview stage type \( e.g., Lead, Applied, Interview, Offer\) |
1427+ | ↳ ` job ` | object | job output from the tool |
1428+ | ↳ ` id ` | string | Job UUID |
1429+ | ↳ ` title ` | string | Job title |
1430+ | ` offer ` | object | offer output from the tool |
1431+ | ↳ ` id ` | string | Accepted offer UUID |
1432+ | ↳ ` applicationId ` | string | Associated application UUID |
1433+ | ↳ ` acceptanceStatus ` | string | Offer acceptance status |
1434+ | ↳ ` offerStatus ` | string | Offer process status |
1435+ | ↳ ` decidedAt ` | string | Offer decision timestamp \( ISO 8601\) |
1436+ | ↳ ` latestVersion ` | object | latestVersion output from the tool |
1437+ | ↳ ` id ` | string | Latest offer version UUID |
1438+
1439+
1440+ ---
1441+
1442+ ### Ashby Candidate Stage Change
1443+
1444+ Trigger workflow when a candidate changes interview stages
1445+
1446+ #### Configuration
1447+
1448+ | Parameter | Type | Required | Description |
1449+ | --------- | ---- | -------- | ----------- |
1450+ | ` apiKey ` | string | Yes | API Key |
1451+
1452+ #### Output
1453+
1454+ | Parameter | Type | Description |
1455+ | --------- | ---- | ----------- |
1456+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1457+ | ` application ` | object | application output from the tool |
1458+ | ↳ ` id ` | string | Application UUID |
1459+ | ↳ ` createdAt ` | string | Application creation timestamp \( ISO 8601\) |
1460+ | ↳ ` updatedAt ` | string | Application last update timestamp \( ISO 8601\) |
1461+ | ↳ ` status ` | string | Application status \( Active, Hired, Archived, Lead\) |
1462+ | ↳ ` candidate ` | object | candidate output from the tool |
1463+ | ↳ ` id ` | string | Candidate UUID |
1464+ | ↳ ` name ` | string | Candidate name |
1465+ | ↳ ` currentInterviewStage ` | object | currentInterviewStage output from the tool |
1466+ | ↳ ` id ` | string | Current interview stage UUID |
1467+ | ↳ ` title ` | string | Current interview stage title |
1468+ | ↳ ` stageType ` | string | Current interview stage type \( e.g., Lead, Applied, Interview, Offer\) |
1469+ | ↳ ` job ` | object | job output from the tool |
1470+ | ↳ ` id ` | string | Job UUID |
1471+ | ↳ ` title ` | string | Job title |
1472+
1473+
1474+ ---
1475+
1476+ ### Ashby Job Created
1477+
1478+ Trigger workflow when a new job is created
1479+
1480+ #### Configuration
1481+
1482+ | Parameter | Type | Required | Description |
1483+ | --------- | ---- | -------- | ----------- |
1484+ | ` apiKey ` | string | Yes | API Key |
1485+
1486+ #### Output
1487+
1488+ | Parameter | Type | Description |
1489+ | --------- | ---- | ----------- |
1490+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1491+ | ` job ` | object | job output from the tool |
1492+ | ↳ ` id ` | string | Job UUID |
1493+ | ↳ ` title ` | string | Job title |
1494+ | ↳ ` confidential ` | boolean | Whether the job is confidential |
1495+ | ↳ ` status ` | string | Job status \( Open, Closed, Draft, Archived\) |
1496+ | ↳ ` employmentType ` | string | Employment type \( FullTime, PartTime, Intern, Contract, Temporary\) |
1497+
1498+
1499+ ---
1500+
1501+ ### Ashby Offer Created
1502+
1503+ Trigger workflow when a new offer is created
1504+
1505+ #### Configuration
1506+
1507+ | Parameter | Type | Required | Description |
1508+ | --------- | ---- | -------- | ----------- |
1509+ | ` apiKey ` | string | Yes | API Key |
1510+
1511+ #### Output
1512+
1513+ | Parameter | Type | Description |
1514+ | --------- | ---- | ----------- |
1515+ | ` action ` | string | The webhook event type \( e.g., applicationSubmit, candidateHire\) |
1516+ | ` offer ` | object | offer output from the tool |
1517+ | ↳ ` id ` | string | Offer UUID |
1518+ | ↳ ` applicationId ` | string | Associated application UUID |
1519+ | ↳ ` acceptanceStatus ` | string | Offer acceptance status \( Accepted, Declined, Pending, Created, Cancelled\) |
1520+ | ↳ ` offerStatus ` | string | Offer process status \( WaitingOnApprovalStart, WaitingOnOfferApproval, WaitingOnApprovalDefinition, WaitingOnCandidateResponse, CandidateRejected, CandidateAccepted, OfferCancelled\) |
1521+ | ↳ ` decidedAt ` | string | Offer decision timestamp \( ISO 8601\) . Typically null at creation; populated after candidate responds. |
1522+ | ↳ ` latestVersion ` | object | latestVersion output from the tool |
1523+ | ↳ ` id ` | string | Latest offer version UUID |
1524+
0 commit comments