@lhi/n8m 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,188 +0,0 @@
1
- {
2
- "_comment": "Maps n8n node types + parameter names to test data hints. Used by testRemoteWorkflowDirectly() to build better mock payloads and self-healing prompts.",
3
-
4
- "n8n-nodes-base.slack": {
5
- "_description": "Slack node. blocksUi must be a valid JSON array of Block Kit blocks — never a plain string.",
6
- "blocksUi": {
7
- "type": "jsonArray",
8
- "description": "Must be a JSON array of Block Kit block objects. If a webhook body field is used here, that field must contain valid blocks JSON, not plain text.",
9
- "sample": "[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"Hello from n8m test\"}}]",
10
- "errorSignal": "could not be parsed"
11
- },
12
- "attachments": {
13
- "type": "jsonArray",
14
- "description": "Legacy Slack attachments array.",
15
- "sample": "[{\"fallback\":\"Test alert\",\"color\":\"#36a64f\",\"text\":\"Test attachment body\"}]"
16
- },
17
- "text": {
18
- "type": "string",
19
- "description": "Plain mrkdwn message text. Can use any string value.",
20
- "sample": "Test message from n8m validation suite"
21
- },
22
- "channel": {
23
- "type": "string",
24
- "description": "Channel name (#general) or ID (C1234567890).",
25
- "sample": "#general"
26
- }
27
- },
28
-
29
- "n8n-nodes-base.slackTrigger": {
30
- "_description": "Slack trigger — receives webhook events. No test payload hints needed."
31
- },
32
-
33
- "n8n-nodes-base.httpRequest": {
34
- "_description": "HTTP Request node. body must match the expected content type.",
35
- "body": {
36
- "type": "json",
37
- "description": "Request body as JSON. The structure depends on the target API.",
38
- "sample": "{\"key\": \"value\"}"
39
- },
40
- "url": {
41
- "type": "string",
42
- "description": "Full URL including protocol.",
43
- "sample": "https://httpbin.org/post"
44
- }
45
- },
46
-
47
- "n8n-nodes-base.openAi": {
48
- "_description": "OpenAI node. prompt/userMessage must be a non-empty string.",
49
- "prompt": {
50
- "type": "string",
51
- "description": "The prompt to send. Must be a non-empty string.",
52
- "sample": "Summarize this in one sentence: Hello world."
53
- },
54
- "userMessage": {
55
- "type": "string",
56
- "description": "User message for chat completions. Must be a non-empty string.",
57
- "sample": "Write a short test post about productivity."
58
- }
59
- },
60
-
61
- "n8n-nodes-base.googleSheets": {
62
- "_description": "Google Sheets node.",
63
- "sheetId": {
64
- "type": "string",
65
- "description": "Spreadsheet ID from the sheet URL.",
66
- "sample": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms"
67
- }
68
- },
69
-
70
- "n8n-nodes-base.twitter": {
71
- "_description": "Twitter/X node. text must be ≤280 chars.",
72
- "text": {
73
- "type": "string",
74
- "description": "Tweet text. Max 280 characters.",
75
- "sample": "Test post from n8m validation suite. #test"
76
- }
77
- },
78
-
79
- "n8n-nodes-base.linkedIn": {
80
- "_description": "LinkedIn node. text/commentary must be a non-empty string.",
81
- "text": {
82
- "type": "string",
83
- "description": "Post body text.",
84
- "sample": "Sharing insights on productivity. This is a test post from n8m."
85
- }
86
- },
87
-
88
- "n8n-nodes-base.telegram": {
89
- "_description": "Telegram node. text must be a non-empty string.",
90
- "text": {
91
- "type": "string",
92
- "description": "Message text. Supports HTML/Markdown depending on parseMode.",
93
- "sample": "Test message from n8m validation suite."
94
- }
95
- },
96
-
97
- "n8n-nodes-base.discord": {
98
- "_description": "Discord node. text must be a non-empty string, max 2000 chars.",
99
- "text": {
100
- "type": "string",
101
- "description": "Message content. Max 2000 characters.",
102
- "sample": "Test message from n8m validation suite."
103
- }
104
- },
105
-
106
- "n8n-nodes-base.gmail": {
107
- "_description": "Gmail node.",
108
- "subject": {
109
- "type": "string",
110
- "description": "Email subject line.",
111
- "sample": "n8m Test Email"
112
- },
113
- "message": {
114
- "type": "string",
115
- "description": "Email body. HTML or plain text.",
116
- "sample": "This is a test email sent by the n8m validation suite."
117
- },
118
- "toList": {
119
- "type": "string",
120
- "description": "Recipient email address(es), comma-separated.",
121
- "sample": "test@example.com"
122
- }
123
- },
124
-
125
- "n8n-nodes-base.sendEmail": {
126
- "_description": "Send Email node (SMTP).",
127
- "subject": {
128
- "type": "string",
129
- "sample": "n8m Test Email"
130
- },
131
- "text": {
132
- "type": "string",
133
- "sample": "Test email body from n8m validation."
134
- },
135
- "toEmail": {
136
- "type": "string",
137
- "sample": "test@example.com"
138
- }
139
- },
140
-
141
- "n8n-nodes-base.notion": {
142
- "_description": "Notion node. pageId must be a valid UUID.",
143
- "pageId": {
144
- "type": "string",
145
- "description": "Notion page ID (UUID format).",
146
- "sample": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
147
- }
148
- },
149
-
150
- "n8n-nodes-base.airtable": {
151
- "_description": "Airtable node.",
152
- "table": {
153
- "type": "string",
154
- "description": "Table name exactly as it appears in Airtable.",
155
- "sample": "Table 1"
156
- }
157
- },
158
-
159
- "n8n-nodes-base.html": {
160
- "_description": "HTML node. Generates HTML from a template expression. The 'html' parameter must be a valid HTML string or expression producing one.",
161
- "html": {
162
- "type": "string",
163
- "description": "HTML template string. Uses $json fields from the previous node. If this node accesses $json.body.content, the webhook payload must include 'content' as a plain text string.",
164
- "sample": "<h1>Test Heading</h1><p>Test paragraph content.</p>"
165
- }
166
- },
167
-
168
- "n8n-nodes-base.markdown": {
169
- "_description": "Markdown node. Converts markdown text to HTML. The markdown field must be a string.",
170
- "markdown": {
171
- "type": "string",
172
- "description": "Markdown text to convert.",
173
- "sample": "# Test Heading\n\nTest paragraph content."
174
- }
175
- },
176
-
177
- "n8n-nodes-base.set": {
178
- "_description": "Set node. No special payload requirements — reads from upstream data."
179
- },
180
-
181
- "n8n-nodes-base.if": {
182
- "_description": "IF node. No special payload requirements — evaluates conditions on upstream data."
183
- },
184
-
185
- "n8n-nodes-base.code": {
186
- "_description": "Code node. No special payload requirements — runs JS/TS against upstream data."
187
- }
188
- }
@@ -1,42 +0,0 @@
1
- {
2
- "_comment": "Pre-defined test payloads for specific n8n workflows. Keys are workflow IDs or name substrings. The 'payload' object is POST-ed to the webhook as-is (n8n wraps it automatically: POST {content:'x'} → $json.body.content = 'x'). Place a copy of this file at ./workflow-test-fixtures.json or ./workflows/test-fixtures.json in your project to override bundled fixtures.",
3
-
4
- "IAHbfTdmlTZfIDld": {
5
- "_name": "Social Posting Flow I - Candidates",
6
- "payload": {
7
- "content": "Excited to share some thoughts on AI-powered workflow automation and how it's transforming the way teams operate. The future of work is here, and it's more efficient than ever. #AI #Automation #Productivity",
8
- "title": "AI Workflow Automation",
9
- "platform": "linkedin",
10
- "author": "n8m Test Suite",
11
- "tags": ["AI", "Automation", "n8n"]
12
- }
13
- },
14
-
15
- "Social Posting Flow": {
16
- "_note": "Name-based fallback — matches any workflow whose name contains 'Social Posting Flow'.",
17
- "payload": {
18
- "content": "Excited to share some thoughts on AI-powered workflow automation and how it's transforming the way teams operate. #AI #Automation",
19
- "title": "AI Workflow Automation",
20
- "platform": "linkedin",
21
- "author": "n8m Test Suite"
22
- }
23
- },
24
-
25
- "_example_slack_workflow": {
26
- "_note": "Rename this key to your workflow ID or name substring to activate.",
27
- "payload": {
28
- "message": "Hello from n8m test suite",
29
- "channel": "#general",
30
- "username": "n8m Bot"
31
- }
32
- },
33
-
34
- "_example_email_workflow": {
35
- "_note": "Rename this key to your workflow ID or name substring to activate.",
36
- "payload": {
37
- "to": "test@example.com",
38
- "subject": "n8m Test Email",
39
- "body": "This is a test email sent by the n8m validation suite."
40
- }
41
- }
42
- }