Knack
knackNo-code database and business application platform for building custom web apps without coding.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create object recordKNACK_CREATE_OBJECT_RECORDAcciónTool to create a new record in a specific Knack object. Use when you need to add new data to a Knack database object. Requires object-based API key authentication.
KNACK_CREATE_OBJECT_RECORDAcciónTool to create a new record in a specific Knack object. Use when you need to add new data to a Knack database object. Requires object-based API key authentication.
Parámetros de entrada
fieldsobjectObligatorioDictionary of field keys and their values. Keys must match your Knack object's field keys (e.g., 'field_1', 'field_2'). Values can be strings, numbers, objects, or arrays depending on the field type. For name fields, use {'first': 'John', 'last': 'Doe'}. For email fields, use {'email': 'user@example.com'}.
object_keystringObligatorioThe object key identifier (e.g., 'object_1', 'object_2'). This identifies which Knack object to create the record in.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create View RecordKNACK_CREATE_VIEW_RECORDAcciónTool to create a new record through a form view in Knack. Use when you need to add a record to a Knack object using a form view interface. Only fields that exist in the form will be used, and any record rules configured on the form will be triggered.
KNACK_CREATE_VIEW_RECORDAcciónTool to create a new record through a form view in Knack. Use when you need to add a record to a Knack object using a form view interface. Only fields that exist in the form will be used, and any record rules configured on the form will be triggered.
Parámetros de entrada
view_keystringObligatorioThe view key for the form view through which to create the record (e.g., 'view_12').
scene_keystringObligatorioThe scene/page key where the form view is located (e.g., 'scene_13').
record_dataobjectObligatorioJSON object containing field keys and their values. Field keys must match the fields defined in the form view (e.g., {'field_1': {'first': 'John', 'last': 'Doe'}, 'field_2': 'john@example.com'}). Only fields that exist in the form will be used.
authorizationstringUser token for login-protected pages. Only required if the form view requires authentication.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Object RecordKNACK_DELETE_OBJECT_RECORDAcciónTool to delete a single record from a specific Knack object by its ID. Use when you need to permanently remove a record from an object. This action is permanent and cannot be undone. Requires API key authentication (X-Knack-Application-Id and X-Knack-REST-API-KEY headers).
KNACK_DELETE_OBJECT_RECORDAcciónTool to delete a single record from a specific Knack object by its ID. Use when you need to permanently remove a record from an object. This action is permanent and cannot be undone. Requires API key authentication (X-Knack-Application-Id and X-Knack-REST-API-KEY headers).
Parámetros de entrada
record_idstringObligatorioThe unique ID of the record to delete. This operation is permanent and cannot be undone.
object_keystringObligatorioThe object key (e.g., object_1, object_2). This identifies which object the record belongs to.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete View RecordKNACK_DELETE_VIEW_RECORDAcciónTool to delete a record through a view that contains a delete link. Works with tables, lists, searches, calendars, and details views. This operation is permanent and cannot be undone. Use only after confirming the correct scene_key, view_key, and record_id.
KNACK_DELETE_VIEW_RECORDAcciónTool to delete a record through a view that contains a delete link. Works with tables, lists, searches, calendars, and details views. This operation is permanent and cannot be undone. Use only after confirming the correct scene_key, view_key, and record_id.
Parámetros de entrada
view_keystringObligatorioThe view key for a view with delete link (e.g., view_2). Must be a view that contains delete functionality.
record_idstringObligatorioThe record ID to delete. This operation is permanent and cannot be undone.
scene_keystringObligatorioThe scene/page key (e.g., scene_10). Identifies the page containing the view.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Object RecordKNACK_GET_OBJECT_RECORDAcciónTool to retrieve a single record by its ID from a specific Knack object. Returns the complete record with all field values in both formatted and raw formats. Use this for object-based access which requires API key authentication.
KNACK_GET_OBJECT_RECORDAcciónTool to retrieve a single record by its ID from a specific Knack object. Returns the complete record with all field values in both formatted and raw formats. Use this for object-based access which requires API key authentication.
Parámetros de entrada
record_idstringObligatorioThe unique record ID to retrieve (e.g., '58643557d1ea9432222f3cbb'). This is a 24-character hexadecimal string.
object_keystringObligatorioThe object key identifier (e.g., 'object_1', 'object_2'). This can be found in your Knack application's API settings or builder interface.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Object RecordsKNACK_LIST_OBJECT_RECORDSAcciónTool to retrieve multiple records from a specific Knack object (table). Returns up to 1000 records per page with pagination support. Use this for object-based access which requires API key authentication and provides full access to all fields and records. Supports filtering by field values and sorting by field keys.
KNACK_LIST_OBJECT_RECORDSAcciónTool to retrieve multiple records from a specific Knack object (table). Returns up to 1000 records per page with pagination support. Use this for object-based access which requires API key authentication and provides full access to all fields and records. Supports filtering by field values and sorting by field keys.
Parámetros de entrada
pageintegerPage number for pagination (default 1). Use this to navigate through multiple pages of results.
filtersstringURL-encoded JSON filter object. Must contain 'match' (and/or) and 'rules' array. Example: {"match":"and","rules":[{"field":"field_1","operator":"is","value":"test"}]}
object_keystringObligatorioThe object key identifier (e.g., object_1, object_2). This identifies which Knack object (table) to retrieve records from.
sort_fieldstringField key to sort results by (e.g., field_25). Must be a valid field key from the object.
sort_orderstringenumSort order enumeration for records.
ascdescrows_per_pageintegerNumber of records per page (default 25, max 1000). Controls how many records are returned in a single request.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List View RecordsKNACK_LIST_VIEW_RECORDSAcciónTool to retrieve multiple records from a specific Knack view (tables, lists, searches, calendars). Use when you need to fetch data from a view with pagination support. Returns only fields included in the view configuration.
KNACK_LIST_VIEW_RECORDSAcciónTool to retrieve multiple records from a specific Knack view (tables, lists, searches, calendars). Use when you need to fetch data from a view with pagination support. Returns only fields included in the view configuration.
Parámetros de entrada
pageintegerPage number for pagination. Defaults to 1 if not specified.
view_keystringObligatorioThe view key (e.g., view_1, view_11). This identifies the specific view (table, list, search, or calendar) to retrieve records from.
scene_keystringObligatorioThe scene/page key (e.g., scene_1). This identifies the page containing the view.
rows_per_pageintegerNumber of records per page. Maximum is 1000. Defaults to 25 if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update object recordKNACK_UPDATE_OBJECT_RECORDAcciónTool to update an existing record in a specific Knack object. Use when you need to modify field values in an existing record. Only fields provided in the request will be updated; all other fields remain unchanged.
KNACK_UPDATE_OBJECT_RECORDAcciónTool to update an existing record in a specific Knack object. Use when you need to modify field values in an existing record. Only fields provided in the request will be updated; all other fields remain unchanged.
Parámetros de entrada
fieldsobjectObligatorioDictionary of field keys and their values to update. Only fields included in this dictionary will be modified; all other fields remain unchanged. Keys must match your Knack object's field keys (e.g., 'field_1', 'field_4'). Values can be strings, numbers, objects, or arrays depending on the field type.
record_idstringObligatorioThe unique record ID to update (e.g., '67e1e50c2fa13b511d7770aa'). This is a 24-character hexadecimal string.
object_keystringObligatorioThe object key identifier (e.g., 'object_1', 'object_2'). This identifies which Knack object contains the record to update.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload FileKNACK_UPLOAD_FILEAcciónTool to upload a file to a Knack application. This is step 1 of a two-step process - after uploading, use the returned file ID when creating or updating a record with a file field.
KNACK_UPLOAD_FILEAcciónTool to upload a file to a Knack application. This is step 1 of a two-step process - after uploading, use the returned file ID when creating or updating a record with a file field.
Parámetros de entrada
filesobjectObligatorioThe file to upload to Knack. FileUploadable object where 'name' should be the filename (e.g., 'document.pdf', 'image.jpg').
application_idstringObligatorioYour Knack application ID. This identifies which application to upload the file to.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload ImageKNACK_UPLOAD_IMAGEAcciónTool to upload an image to a Knack application. This is the first step in a two-step process - after uploading, use the returned file ID when creating or updating a record with an image field. Use when you need to attach images to Knack records.
KNACK_UPLOAD_IMAGEAcciónTool to upload an image to a Knack application. This is the first step in a two-step process - after uploading, use the returned file ID when creating or updating a record with an image field. Use when you need to attach images to Knack records.
Parámetros de entrada
filesobjectObligatorioThe image file to upload. FileUploadable object where 'name' should be the image filename (e.g., 'photo.png', 'image.jpg').
application_idstringObligatorioYour Knack application ID. This identifies which application to upload the image to.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not