POST /api/automation/node/{node_id}/replace/
Replace a node in a workflow with one of a new type.
Servers
Path parameters
| Name |
Type |
Required |
Description |
node_id |
Integer |
Yes |
The node that is to be replaced.
|
Request headers
| Name |
Type |
Required |
Description |
ClientSessionId |
String |
No |
An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.
|
Content-Type |
String |
Yes |
The media type of the request body.
Default value: "application/json"
|
Request body fields
| Name |
Type |
Required |
Description |
new_type |
String |
Yes |
The type of the new automation node
local_baserow_create_row - local_baserow_create_rowlocal_baserow_create_rows - local_baserow_create_rowslocal_baserow_update_row - local_baserow_update_rowlocal_baserow_update_rows - local_baserow_update_rowslocal_baserow_delete_row - local_baserow_delete_rowlocal_baserow_get_row - local_baserow_get_rowlocal_baserow_list_rows - local_baserow_list_rowslocal_baserow_aggregate_rows - local_baserow_aggregate_rowshttp_request - http_requestiterator - iteratorcsv_file_reader - csv_file_readersmtp_email - smtp_emailrouter - routerstart_workflow - start_workflowlocal_baserow_rows_created - local_baserow_rows_createdlocal_baserow_rows_updated - local_baserow_rows_updatedlocal_baserow_rows_deleted - local_baserow_rows_deletedlocal_baserow_fields_updated - local_baserow_fields_updatedperiodic - periodichttp_trigger - http_triggermanual - manualai_agent - ai_agentslack_write_message - slack_write_messagecode - codexls_file_reader - xls_file_reader
Valid values:
"manual"
"periodic"
"slack_write_message"
"local_baserow_update_row"
"ai_agent"
"local_baserow_create_rows"
"http_request"
"iterator"
"local_baserow_update_rows"
"code"
"xls_file_reader"
"local_baserow_rows_deleted"
"local_baserow_delete_row"
"csv_file_reader"
"local_baserow_create_row"
"local_baserow_get_row"
"local_baserow_aggregate_rows"
"local_baserow_list_rows"
"router"
"local_baserow_rows_created"
"local_baserow_fields_updated"
"http_trigger"
"local_baserow_rows_updated"
"start_workflow"
"smtp_email"
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.