AutomationFlowsGeneral › Example Workflow

Example Workflow

Example-Workflow. Uses CUSTOM. Event-driven trigger; 6 nodes.

Event trigger★★☆☆☆ complexity6 nodesCustom
General Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "My workflow",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -48,
        304
      ],
      "id": "fba17206-277d-4e01-a180-4f6941c0ec1b",
      "name": "When clicking \u2018Execute workflow\u2019"
    },
    {
      "parameters": {
        "resource": "itemCrud",
        "operation": "listItems",
        "requestOptions": {}
      },
      "type": "CUSTOM.exampleService",
      "typeVersion": 1,
      "position": [
        176,
        -80
      ],
      "id": "98894a5f-ca82-47b8-b026-2233e3d6f959",
      "name": "ListItems itemCrud",
      "credentials": {
        "exampleServiceApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "itemCrud",
        "operation": "getItem",
        "itemId": "1",
        "requestOptions": {}
      },
      "type": "CUSTOM.exampleService",
      "typeVersion": 1,
      "position": [
        176,
        112
      ],
      "id": "31468ddc-3295-449b-aa7a-5a3c13c33a27",
      "name": "GetItem itemCrud",
      "credentials": {
        "exampleServiceApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "itemCrud",
        "operation": "createItem",
        "title": "TEST",
        "body": "Test item",
        "requestOptions": {}
      },
      "type": "CUSTOM.exampleService",
      "typeVersion": 1,
      "position": [
        176,
        304
      ],
      "id": "018c0ff5-c034-4a9a-9116-4c49f49bf66f",
      "name": "CreateItem itemCrud",
      "credentials": {
        "exampleServiceApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "itemCrud",
        "operation": "updateItem",
        "itemId": "1",
        "title": "TEST",
        "body": "Updated item",
        "requestOptions": {}
      },
      "type": "CUSTOM.exampleService",
      "typeVersion": 1,
      "position": [
        176,
        496
      ],
      "id": "7df38774-d61f-41cc-ae75-26452b82d179",
      "name": "UpdateItem itemCrud",
      "credentials": {
        "exampleServiceApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "itemCrud",
        "operation": "deleteItem",
        "itemId": "1",
        "requestOptions": {}
      },
      "type": "CUSTOM.exampleService",
      "typeVersion": 1,
      "position": [
        176,
        688
      ],
      "id": "25fe9fae-65c8-48c0-94d1-4b197b088fac",
      "name": "DeleteItem itemCrud",
      "credentials": {
        "exampleServiceApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "ListItems itemCrud",
            "type": "main",
            "index": 0
          },
          {
            "node": "GetItem itemCrud",
            "type": "main",
            "index": 0
          },
          {
            "node": "CreateItem itemCrud",
            "type": "main",
            "index": 0
          },
          {
            "node": "UpdateItem itemCrud",
            "type": "main",
            "index": 0
          },
          {
            "node": "DeleteItem itemCrud",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "availableInMCP": false
  },
  "versionId": "1f58f22e-4a4e-4b16-83db-5b311f28d38d",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "p5ds4DVcbN-7jZv7MvwPO",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Example-Workflow. Uses CUSTOM. Event-driven trigger; 6 nodes.

Source: https://github.com/alejandrosnz/n8n-community-node-starter/blob/master/example-workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

03 - Flow Control Demo (Loop) V2. Event-driven trigger; 11 nodes.

General

Report Examples Demo. Event-driven trigger; 7 nodes.

General

Google Sheets UI for n8n Workflow. Uses manualTrigger, stickyNote, splitInBatches, googleSheets. Event-driven trigger; 6 nodes.

Google Sheets
General

Reusable and Independently Testable Sub-workflow. Uses executeWorkflowTrigger, manualTrigger, stickyNote. Event-driven trigger; 6 nodes.

Execute Workflow Trigger
General

example_1. Uses n8nTrainingCustomerDatastore. Event-driven trigger; 6 nodes.

N8N Training Customer Datastore