mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
feat: Update Example Sub-Workflow (#12000)
This commit is contained in:
parent
e2b00a3ce3
commit
2e55cbd764
|
@ -899,23 +899,36 @@ export const NEW_SAMPLE_WORKFLOW_CREATED_CHANNEL = 'new-sample-sub-workflow-crea
|
|||
export const SAMPLE_SUBWORKFLOW_WORKFLOW: IWorkflowDataCreate = {
|
||||
name: 'My Sub-Workflow',
|
||||
nodes: [
|
||||
{
|
||||
parameters: {
|
||||
content: '## Define your inputs in this node',
|
||||
height: 220,
|
||||
width: 300,
|
||||
},
|
||||
id: 'c055762a-8fe7-4141-a639-df2372f30059',
|
||||
name: 'Define your inputs in this node',
|
||||
type: STICKY_NODE_TYPE,
|
||||
position: [120, 280],
|
||||
},
|
||||
{
|
||||
parameters: {},
|
||||
id: 'c055762a-8fe7-4141-a639-df2372f30060',
|
||||
name: 'Execute Workflow Trigger',
|
||||
type: 'n8n-nodes-base.executeWorkflowTrigger',
|
||||
name: 'When called by another workflow',
|
||||
type: EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE,
|
||||
typeVersion: 1.1,
|
||||
position: [260, 340],
|
||||
},
|
||||
{
|
||||
parameters: {},
|
||||
id: 'b5942df6-0160-4ef7-965d-57583acdc8aa',
|
||||
name: 'Replace me with your logic',
|
||||
type: 'n8n-nodes-base.noOp',
|
||||
type: NO_OP_NODE_TYPE,
|
||||
typeVersion: 1,
|
||||
position: [520, 340],
|
||||
},
|
||||
] as INodeUi[],
|
||||
connections: {
|
||||
'Execute Workflow Trigger': {
|
||||
'When called by another workflow': {
|
||||
main: [
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue