Commit 105d786
committed
feat(harmonic): add the missing people endpoints and fix two error paths
Extends the integration from 4 to 13 tools, covering every non-deprecated
people-scoped Harmonic endpoint, and repairs two defects found by validating
the existing tools against Harmonic's OpenAPI and API reference.
New tools:
- Enrich Person (POST /persons) — the only path from a LinkedIn URL or email
a workflow already holds to a Harmonic contact.
- Get Person, Get Company Employees — account-based sourcing; employees returns
URNs that chain into Batch Get People.
- Saved-search net-new results and their acknowledgement, so a monitor stops
reprocessing the entire result set on every poll.
- Bulk email enrichment: submit, poll, and quota, plus Get Enrichment Status.
Fixes:
- The error extractor dropped Harmonic's string and object `detail` envelopes.
A tool that names an extractor gets no fallback chain, so every FastAPI abort
surfaced as "Request failed with status 403". The enrichment 404 also carries
the scheduled `enrichment_urn`, which was being discarded — that URN is the
only handle on the job, so it is now kept in the message.
- The saved-search selector failed the whole dropdown instead of degrading:
the response cap was half the sibling value on an endpoint that is
unpaginated and returns every saved search with its full query object, and
the option ceiling threw rather than truncating. Raised to 1MB and switched
to truncate-and-warn, matching the other data-driven selectors.
Clearing net-new results now requires an explicit scope. Harmonic treats an
absent `entity_urns` as "clear everything", so an empty field would have
silently discarded the backlog.
Scope deliberately excludes company-side, deal, typeahead, network, and Scout
streaming endpoints, and every endpoint retiring on 2026-11-05.1 parent ebd2d56 commit 105d786
25 files changed
Lines changed: 2887 additions & 66 deletions
File tree
- apps
- docs/content/docs/en/integrations
- sim
- app/api/tools/harmonic/saved-searches
- blocks/blocks
- tools
- generated
- harmonic
- packages/deployment-config/src
Large diffs are not rendered by default.
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
337 | 338 | | |
338 | | - | |
| 339 | + | |
| 340 | + | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
120 | 129 | | |
121 | 130 | | |
122 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
27 | 36 | | |
28 | 37 | | |
29 | 38 | | |
| |||
133 | 142 | | |
134 | 143 | | |
135 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
136 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
137 | 161 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
141 | 178 | | |
142 | 179 | | |
143 | 180 | | |
| |||
253 | 290 | | |
254 | 291 | | |
255 | 292 | | |
| 293 | + | |
256 | 294 | | |
257 | 295 | | |
258 | 296 | | |
| |||
0 commit comments