You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/agiloft.mdx
+42-16Lines changed: 42 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ In Sim, the Agiloft integration enables your agents to manage contracts and reco
34
34
35
35
## Usage Instructions
36
36
37
-
Integrate with Agiloft contract lifecycle management to create, read, update, delete, and search records. Supports file attachments, SQL-based selection, saved searches, and record locking across any table in your knowledge base.
37
+
Integrate with Agiloft contract lifecycle management to create, read, update, delete, and search records. Supports file attachments, SQL-based selection, saved searches, record locking, and running action buttons across any table in your knowledge base.
38
38
39
39
40
40
@@ -129,6 +129,7 @@ Delete a record from an Agiloft table.
129
129
|`password`| string | Yes | Agiloft password |
130
130
|`table`| string | Yes | Table name \(e.g., "contracts", "contacts.employees"\)|
131
131
|`recordId`| string | Yes | ID of the record to delete |
132
+
|`deleteRule`| string | No | How to treat records that depend on this one: ERROR_IF_DEPENDANTS \(default — fails rather than cascading\), APPLY_DELETE_WHERE_POSSIBLE, DELETE_WHERE_POSSIBLE_OTHERWISE_UNLINK, APPLY_UNLINK, or UNLINK_WHERE_POSSIBLE_OTHERWISE_DELETE |
132
133
133
134
#### Output
134
135
@@ -174,13 +175,14 @@ Lock, unlock, or check the lock status of an Agiloft record.
174
175
|`table`| string | Yes | Table name \(e.g., "contracts"\)|
175
176
|`recordId`| string | Yes | ID of the record to lock, unlock, or check |
176
177
|`lockAction`| string | Yes | Action to perform: "lock", "unlock", or "check" |
178
+
|`force`| boolean | No | Unlock only: release a lock held by another user. Requires membership in the admin group. |
|`recordId`| string | ID of the record the action button was run on |
281
+
|`callbackId`| string | Callback identifier for the asynchronous run, which Agiloft returns as EWCALLBACK_ID |
282
+
283
+
### saved_search
284
+
285
+
286
+
### Agiloft Saved Search (retired)
287
+
288
+
Retired. Agiloft does not document an endpoint for listing saved searches — use the Search Records operation and set its Saved Search field instead.
289
+
290
+
#### Input
291
+
292
+
| Parameter | Type | Required | Description |
293
+
| --------- | ---- | -------- | ----------- |
294
+
|`instanceUrl`| string | No | Agiloft instance URL |
295
+
|`knowledgeBase`| string | No | Knowledge base name |
296
+
|`login`| string | No | Agiloft username |
297
+
|`password`| string | No | Agiloft password |
298
+
|`table`| string | No | Table name |
299
+
|`output`| string | No | No description |
300
+
301
+
#### Output
302
+
303
+
| Parameter | Type | Description |
304
+
| --------- | ---- | ----------- |
305
+
|`searches`| array | Always empty; this operation is retired |
281
306
282
307
### Agiloft Search Records
283
308
@@ -292,19 +317,20 @@ Search for records in an Agiloft table using a query.
292
317
|`login`| string | Yes | Agiloft username |
293
318
|`password`| string | Yes | Agiloft password |
294
319
|`table`| string | Yes | Table name to search in \(e.g., "contracts", "contacts.employees"\)|
295
-
|`query`| string | Yes | Search query using Agiloft query syntax \(e.g., "status=\'Active\'" or "company_name~=\'Acme\'"\)|
320
+
|`query`| string | No | Ad hoc EWSearch query. Combine conditions with && \(and\) or \|\|\(or\) and quote every value — e.g. \"summary~='test'&&priority='High'\". Required unless a saved search is given. |
321
+
|`search`| string | No | Label of a saved search defined on the table \(e.g., "C: Status is Closed"\). Can be combined with a query to narrow it further. |
296
322
|`fields`| string | No | Comma-separated list of field names to include in the results |
297
323
|`page`| string | No | Page number for paginated results \(starting from 0\)|
298
-
|`limit`| string | No | Maximum number of records to return per page |
324
+
|`limit`| string | No | Maximum number of records to return per page. Agiloft treats 0 as "all records", so leave it unset or use a positive value to keep result sizes bounded.|
299
325
300
326
#### Output
301
327
302
328
| Parameter | Type | Description |
303
329
| --------- | ---- | ----------- |
304
330
|`records`| json | Array of matching records with their field values |
305
-
|`totalCount`| number |Total number of matching records |
306
-
|`page`| number |Current page number |
307
-
|`limit`| number |Records per page|
331
+
|`totalCount`| number |Number of records reported by EWSearch. When paginating this is the count for the current page, not the whole result set.|
332
+
|`page`| number |Page number that was requested \(0-based\)|
333
+
|`limit`| number |Page size that was requested; 0 when no limit was sent and Agiloft chose one|
308
334
309
335
### Agiloft Select Records
310
336
@@ -319,7 +345,7 @@ Select record IDs matching a SQL WHERE clause from an Agiloft table.
319
345
|`login`| string | Yes | Agiloft username |
320
346
|`password`| string | Yes | Agiloft password |
321
347
|`table`| string | Yes | Table name \(e.g., "contracts", "contacts.employees"\)|
322
-
|`where`| string | Yes | SQL WHERE clause using database column names \(e.g., "summary like \'%new%\'" or "assigned_person=\'John Doe\'"\)|
348
+
|`where`| string | Yes | SQL WHERE clause using database column names \(e.g., "summary like \'%new%\'" or "assigned_person=\'John Doe\'"\). EWSelect has no page size and returns every matching ID, so append a database limit such as "limit 0,200" to bound the result.|
0 commit comments