Skip to content

Commit 35beb7e

Browse files
committed
fix(docs): resolve subBlock builder functions for all trigger Config sections
Extends generate-docs.ts to parse subBlock builder functions so all 15 providers previously missing Configuration sections now generate them. Handles three patterns: - `buildTriggerSubBlocks({extraFields: buildX(...)})` — extracts extra fields from the call site and resolves them from the provider's utils.ts - `return [...]` — direct array return (Attio, Confluence, etc.) - `blocks.push(...)` — imperative push pattern (Linear, Ashby) Also resolves const-reference field IDs (SCREAMING_CASE) by searching the webhook provider constants cache, fixing Gong's `gongJwtPublicKeyPem` field which was previously unresolvable. Adds title-as-description fallback for OAuth credential fields that have no explicit description.
1 parent b11ee34 commit 35beb7e

17 files changed

Lines changed: 1135 additions & 47 deletions

apps/docs/content/docs/en/triggers/ashby.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Ashby provides 6 triggers for automating workflows based on events.
1818

1919
Trigger workflow when a new application is submitted
2020

21+
#### Configuration
22+
23+
| Parameter | Type | Required | Description |
24+
| --------- | ---- | -------- | ----------- |
25+
| `apiKey` | string | Yes | API Key |
26+
2127
#### Output
2228

2329
| Parameter | Type | Description |
@@ -32,6 +38,12 @@ Trigger workflow when a new application is submitted
3238

3339
Trigger workflow when a candidate is deleted
3440

41+
#### Configuration
42+
43+
| Parameter | Type | Required | Description |
44+
| --------- | ---- | -------- | ----------- |
45+
| `apiKey` | string | Yes | API Key |
46+
3547
#### Output
3648

3749
| Parameter | Type | Description |
@@ -46,6 +58,12 @@ Trigger workflow when a candidate is deleted
4658

4759
Trigger workflow when a candidate is hired
4860

61+
#### Configuration
62+
63+
| Parameter | Type | Required | Description |
64+
| --------- | ---- | -------- | ----------- |
65+
| `apiKey` | string | Yes | API Key |
66+
4967
#### Output
5068

5169
| Parameter | Type | Description |
@@ -60,6 +78,12 @@ Trigger workflow when a candidate is hired
6078

6179
Trigger workflow when a candidate changes interview stages
6280

81+
#### Configuration
82+
83+
| Parameter | Type | Required | Description |
84+
| --------- | ---- | -------- | ----------- |
85+
| `apiKey` | string | Yes | API Key |
86+
6387
#### Output
6488

6589
| Parameter | Type | Description |
@@ -74,6 +98,12 @@ Trigger workflow when a candidate changes interview stages
7498

7599
Trigger workflow when a new job is created
76100

101+
#### Configuration
102+
103+
| Parameter | Type | Required | Description |
104+
| --------- | ---- | -------- | ----------- |
105+
| `apiKey` | string | Yes | API Key |
106+
77107
#### Output
78108

79109
| Parameter | Type | Description |
@@ -88,6 +118,12 @@ Trigger workflow when a new job is created
88118

89119
Trigger workflow when a new offer is created
90120

121+
#### Configuration
122+
123+
| Parameter | Type | Required | Description |
124+
| --------- | ---- | -------- | ----------- |
125+
| `apiKey` | string | Yes | API Key |
126+
91127
#### Output
92128

93129
| Parameter | Type | Description |

apps/docs/content/docs/en/triggers/attio.mdx

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Attio provides 22 triggers for automating workflows based on events.
1818

1919
Trigger workflow when a new comment is created in Attio
2020

21+
#### Configuration
22+
23+
| Parameter | Type | Required | Description |
24+
| --------- | ---- | -------- | ----------- |
25+
| `triggerCredentials` | string | Yes | Attio Account |
26+
2127
#### Output
2228

2329
| Parameter | Type | Description |
@@ -38,6 +44,12 @@ Trigger workflow when a new comment is created in Attio
3844

3945
Trigger workflow when a comment is deleted in Attio
4046

47+
#### Configuration
48+
49+
| Parameter | Type | Required | Description |
50+
| --------- | ---- | -------- | ----------- |
51+
| `triggerCredentials` | string | Yes | Attio Account |
52+
4153
#### Output
4254

4355
| Parameter | Type | Description |
@@ -58,6 +70,12 @@ Trigger workflow when a comment is deleted in Attio
5870

5971
Trigger workflow when a comment thread is resolved in Attio
6072

73+
#### Configuration
74+
75+
| Parameter | Type | Required | Description |
76+
| --------- | ---- | -------- | ----------- |
77+
| `triggerCredentials` | string | Yes | Attio Account |
78+
6179
#### Output
6280

6381
| Parameter | Type | Description |
@@ -78,6 +96,12 @@ Trigger workflow when a comment thread is resolved in Attio
7896

7997
Trigger workflow when a comment thread is unresolved in Attio
8098

99+
#### Configuration
100+
101+
| Parameter | Type | Required | Description |
102+
| --------- | ---- | -------- | ----------- |
103+
| `triggerCredentials` | string | Yes | Attio Account |
104+
81105
#### Output
82106

83107
| Parameter | Type | Description |
@@ -98,6 +122,12 @@ Trigger workflow when a comment thread is unresolved in Attio
98122

99123
Trigger workflow when a list is created in Attio
100124

125+
#### Configuration
126+
127+
| Parameter | Type | Required | Description |
128+
| --------- | ---- | -------- | ----------- |
129+
| `triggerCredentials` | string | Yes | Attio Account |
130+
101131
#### Output
102132

103133
| Parameter | Type | Description |
@@ -113,6 +143,12 @@ Trigger workflow when a list is created in Attio
113143

114144
Trigger workflow when a list is deleted in Attio
115145

146+
#### Configuration
147+
148+
| Parameter | Type | Required | Description |
149+
| --------- | ---- | -------- | ----------- |
150+
| `triggerCredentials` | string | Yes | Attio Account |
151+
116152
#### Output
117153

118154
| Parameter | Type | Description |
@@ -128,6 +164,12 @@ Trigger workflow when a list is deleted in Attio
128164

129165
Trigger workflow when a new list entry is created in Attio
130166

167+
#### Configuration
168+
169+
| Parameter | Type | Required | Description |
170+
| --------- | ---- | -------- | ----------- |
171+
| `triggerCredentials` | string | Yes | Attio Account |
172+
131173
#### Output
132174

133175
| Parameter | Type | Description |
@@ -144,6 +186,12 @@ Trigger workflow when a new list entry is created in Attio
144186

145187
Trigger workflow when a list entry is deleted in Attio
146188

189+
#### Configuration
190+
191+
| Parameter | Type | Required | Description |
192+
| --------- | ---- | -------- | ----------- |
193+
| `triggerCredentials` | string | Yes | Attio Account |
194+
147195
#### Output
148196

149197
| Parameter | Type | Description |
@@ -160,6 +208,12 @@ Trigger workflow when a list entry is deleted in Attio
160208

161209
Trigger workflow when a list entry is updated in Attio
162210

211+
#### Configuration
212+
213+
| Parameter | Type | Required | Description |
214+
| --------- | ---- | -------- | ----------- |
215+
| `triggerCredentials` | string | Yes | Attio Account |
216+
163217
#### Output
164218

165219
| Parameter | Type | Description |
@@ -177,6 +231,12 @@ Trigger workflow when a list entry is updated in Attio
177231

178232
Trigger workflow when a list is updated in Attio
179233

234+
#### Configuration
235+
236+
| Parameter | Type | Required | Description |
237+
| --------- | ---- | -------- | ----------- |
238+
| `triggerCredentials` | string | Yes | Attio Account |
239+
180240
#### Output
181241

182242
| Parameter | Type | Description |
@@ -192,6 +252,12 @@ Trigger workflow when a list is updated in Attio
192252

193253
Trigger workflow when a new note is created in Attio
194254

255+
#### Configuration
256+
257+
| Parameter | Type | Required | Description |
258+
| --------- | ---- | -------- | ----------- |
259+
| `triggerCredentials` | string | Yes | Attio Account |
260+
195261
#### Output
196262

197263
| Parameter | Type | Description |
@@ -209,6 +275,12 @@ Trigger workflow when a new note is created in Attio
209275

210276
Trigger workflow when a note is deleted in Attio
211277

278+
#### Configuration
279+
280+
| Parameter | Type | Required | Description |
281+
| --------- | ---- | -------- | ----------- |
282+
| `triggerCredentials` | string | Yes | Attio Account |
283+
212284
#### Output
213285

214286
| Parameter | Type | Description |
@@ -226,6 +298,12 @@ Trigger workflow when a note is deleted in Attio
226298

227299
Trigger workflow when a note is updated in Attio
228300

301+
#### Configuration
302+
303+
| Parameter | Type | Required | Description |
304+
| --------- | ---- | -------- | ----------- |
305+
| `triggerCredentials` | string | Yes | Attio Account |
306+
229307
#### Output
230308

231309
| Parameter | Type | Description |
@@ -243,6 +321,12 @@ Trigger workflow when a note is updated in Attio
243321

244322
Trigger workflow when a new record is created in Attio
245323

324+
#### Configuration
325+
326+
| Parameter | Type | Required | Description |
327+
| --------- | ---- | -------- | ----------- |
328+
| `triggerCredentials` | string | Yes | Attio Account |
329+
246330
#### Output
247331

248332
| Parameter | Type | Description |
@@ -259,6 +343,12 @@ Trigger workflow when a new record is created in Attio
259343

260344
Trigger workflow when a record is deleted in Attio
261345

346+
#### Configuration
347+
348+
| Parameter | Type | Required | Description |
349+
| --------- | ---- | -------- | ----------- |
350+
| `triggerCredentials` | string | Yes | Attio Account |
351+
262352
#### Output
263353

264354
| Parameter | Type | Description |
@@ -275,6 +365,12 @@ Trigger workflow when a record is deleted in Attio
275365

276366
Trigger workflow when two records are merged in Attio
277367

368+
#### Configuration
369+
370+
| Parameter | Type | Required | Description |
371+
| --------- | ---- | -------- | ----------- |
372+
| `triggerCredentials` | string | Yes | Attio Account |
373+
278374
#### Output
279375

280376
| Parameter | Type | Description |
@@ -293,6 +389,12 @@ Trigger workflow when two records are merged in Attio
293389

294390
Trigger workflow when a record is updated in Attio
295391

392+
#### Configuration
393+
394+
| Parameter | Type | Required | Description |
395+
| --------- | ---- | -------- | ----------- |
396+
| `triggerCredentials` | string | Yes | Attio Account |
397+
296398
#### Output
297399

298400
| Parameter | Type | Description |
@@ -310,6 +412,12 @@ Trigger workflow when a record is updated in Attio
310412

311413
Trigger workflow when a new task is created in Attio
312414

415+
#### Configuration
416+
417+
| Parameter | Type | Required | Description |
418+
| --------- | ---- | -------- | ----------- |
419+
| `triggerCredentials` | string | Yes | Attio Account |
420+
313421
#### Output
314422

315423
| Parameter | Type | Description |
@@ -325,6 +433,12 @@ Trigger workflow when a new task is created in Attio
325433

326434
Trigger workflow when a task is deleted in Attio
327435

436+
#### Configuration
437+
438+
| Parameter | Type | Required | Description |
439+
| --------- | ---- | -------- | ----------- |
440+
| `triggerCredentials` | string | Yes | Attio Account |
441+
328442
#### Output
329443

330444
| Parameter | Type | Description |
@@ -340,6 +454,12 @@ Trigger workflow when a task is deleted in Attio
340454

341455
Trigger workflow when a task is updated in Attio
342456

457+
#### Configuration
458+
459+
| Parameter | Type | Required | Description |
460+
| --------- | ---- | -------- | ----------- |
461+
| `triggerCredentials` | string | Yes | Attio Account |
462+
343463
#### Output
344464

345465
| Parameter | Type | Description |
@@ -355,6 +475,12 @@ Trigger workflow when a task is updated in Attio
355475

356476
Trigger workflow on any Attio webhook event
357477

478+
#### Configuration
479+
480+
| Parameter | Type | Required | Description |
481+
| --------- | ---- | -------- | ----------- |
482+
| `triggerCredentials` | string | Yes | Attio Account |
483+
358484
#### Output
359485

360486
| Parameter | Type | Description |
@@ -371,6 +497,12 @@ Trigger workflow on any Attio webhook event
371497

372498
Trigger workflow when a new member is added to the Attio workspace
373499

500+
#### Configuration
501+
502+
| Parameter | Type | Required | Description |
503+
| --------- | ---- | -------- | ----------- |
504+
| `triggerCredentials` | string | Yes | Attio Account |
505+
374506
#### Output
375507

376508
| Parameter | Type | Description |

0 commit comments

Comments
 (0)