Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test workflow for Baserow node #231

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions snapshots/232-snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"data": {
"startData": {},
"resultData": {
"runData": {
"Start": [
{
"startTime": 1626685138946,
"executionTime": 1,
"data": {
"main": [
[
{
"json": {}
}
]
]
}
}
],
"Baserow": [
{
"startTime": 1626685138948,
"executionTime": 1288,
"data": {
"main": [
[
{
"json": {
"id": 34,
"order": "4.00000000000000000000",
"Name": "Test1626685139800",
"Active": false
}
}
]
]
}
}
],
"Baserow1": [
{
"startTime": 1626685140237,
"executionTime": 1225,
"data": {
"main": [
[
{
"json": {
"id": 34,
"order": "4.00000000000000000000",
"Name": "Test1626685139800",
"Active": false
}
}
]
]
}
}
],
"Baserow2": [
{
"startTime": 1626685141463,
"executionTime": 1226,
"data": {
"main": [
[
{
"json": {
"id": 25,
"order": "1.00000000000000000000",
"Name": "testing",
"Active": true
}
}
]
]
}
}
],
"Baserow3": [
{
"startTime": 1626685142689,
"executionTime": 1230,
"data": {
"main": [
[
{
"json": {
"id": 34,
"order": "4.00000000000000000000",
"Name": "UpdatedTest1626685139800",
"Active": true
}
}
]
]
}
}
],
"Baserow4": [
{
"startTime": 1626685143919,
"executionTime": 1238,
"data": {
"main": [
[
{
"json": {
"success": true
}
}
]
]
}
}
]
},
"lastNodeExecuted": "Baserow4"
},
"executionData": {
"contextData": {},
"nodeExecutionStack": [],
"waitingExecution": {}
}
},
"mode": "cli",
"startedAt": "2021-07-19T08:58:58.944Z",
"stoppedAt": "2021-07-19T08:59:05.157Z",
"finished": true
}
187 changes: 187 additions & 0 deletions workflows/232.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"id": 232,
"name": "Baserow:Row:create get getAll update delete",
"active": false,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"operation": "create",
"databaseId": 12699,
"tableId": 24794,
"fieldsUi": {
"fieldValues": [
{
"fieldId": 130595,
"fieldValue": "=Test{{Date.now()}}"
}
]
}
},
"name": "Baserow",
"type": "n8n-nodes-base.baserow",
"typeVersion": 1,
"position": [
600,
300
],
"credentials": {
"baserowApi": "Baserow API creds"
}
},
{
"parameters": {
"operation": "get",
"databaseId": 12699,
"tableId": 24794,
"rowId": "={{$node[\"Baserow\"].json[\"id\"]}}"
},
"name": "Baserow1",
"type": "n8n-nodes-base.baserow",
"typeVersion": 1,
"position": [
800,
300
],
"credentials": {
"baserowApi": "Baserow API creds"
}
},
{
"parameters": {
"databaseId": 12699,
"tableId": 24794,
"limit": 1,
"additionalOptions": {}
},
"name": "Baserow2",
"type": "n8n-nodes-base.baserow",
"typeVersion": 1,
"position": [
1000,
300
],
"credentials": {
"baserowApi": "Baserow API creds"
}
},
{
"parameters": {
"operation": "update",
"databaseId": 12699,
"tableId": 24794,
"rowId": "={{$node[\"Baserow\"].json[\"id\"]}}",
"fieldsUi": {
"fieldValues": [
{
"fieldId": 130595,
"fieldValue": "=Updated{{$node[\"Baserow\"].json[\"Name\"]}}"
},
{
"fieldId": 130597,
"fieldValue": "true"
}
]
}
},
"name": "Baserow3",
"type": "n8n-nodes-base.baserow",
"typeVersion": 1,
"position": [
1200,
300
],
"credentials": {
"baserowApi": "Baserow API creds"
}
},
{
"parameters": {
"operation": "delete",
"databaseId": 12699,
"tableId": 24794,
"rowId": "={{$node[\"Baserow\"].json[\"id\"]}}"
},
"name": "Baserow4",
"type": "n8n-nodes-base.baserow",
"typeVersion": 1,
"position": [
1400,
300
],
"credentials": {
"baserowApi": "Baserow API creds"
}
}
],
"connections": {
"Baserow": {
"main": [
[
{
"node": "Baserow1",
"type": "main",
"index": 0
}
]
]
},
"Start": {
"main": [
[
{
"node": "Baserow",
"type": "main",
"index": 0
}
]
]
},
"Baserow1": {
"main": [
[
{
"node": "Baserow2",
"type": "main",
"index": 0
}
]
]
},
"Baserow2": {
"main": [
[
{
"node": "Baserow3",
"type": "main",
"index": 0
}
]
]
},
"Baserow3": {
"main": [
[
{
"node": "Baserow4",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2021-07-19T08:27:14.668Z",
"updatedAt": "2021-07-19T08:57:46.860Z",
"settings": {},
"staticData": null
}