Skip to content

Commit 9b5ae7b

Browse files
fix(blocks): recategorize Data Enrichment as a core block
It's a Sim-native capability (registry enrichments over a managed provider cascade, like Search), not a third-party integration. Moves it to Core Blocks in the toolbar, out of the integrations catalog, and relocates its docs page to blocks/ with the icon-map allowlist keeping the docs card icon. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent be0001e commit 9b5ae7b

9 files changed

Lines changed: 6 additions & 25 deletions

File tree

apps/docs/components/ui/icon-mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,8 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
406406
sharepoint: MicrosoftSharepointIcon,
407407
sharepoint_v2: MicrosoftSharepointIcon,
408408
shopify: ShopifyIcon,
409-
similarweb: SimilarwebIcon,
410409
sim_workspace_event: SimTriggerIcon,
410+
similarweb: SimilarwebIcon,
411411
sixtyfour: SixtyfourIcon,
412412
slack: SlackIcon,
413413
sqs: SQSIcon,
File renamed without changes.

apps/docs/content/docs/en/blocks/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"api",
66
"condition",
77
"credential",
8+
"enrichment",
89
"evaluator",
910
"function",
1011
"guardrails",

apps/docs/content/docs/en/tools/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"elevenlabs",
4949
"emailbison",
5050
"enrich",
51-
"enrichment",
5251
"evernote",
5352
"exa",
5453
"extend",

apps/docs/content/docs/en/tools/servicenow.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ Attach a file to a ServiceNow record
215215
| `recordSysId` | string | Yes | sys_id of the record to attach the file to |
216216
| `fileName` | string | Yes | Name to give the uploaded file \(e.g., logs.txt\) |
217217
| `file` | file | No | File to upload \(UserFile object\) |
218-
| `fileContent` | string | No | Base64-encoded file content \(legacy\) |
219218

220219
#### Output
221220

apps/sim/blocks/blocks/enrichment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export const EnrichmentBlock: BlockConfig<EnrichmentRunResponse> = {
7676
description: 'Enrich data with a Sim enrichment',
7777
longDescription:
7878
'Run a Sim enrichment to look up data — work email, phone number, company domain, company info, and more — from the fields you map in. Uses the same provider cascade as table enrichments.',
79-
docsLink: 'https://docs.sim.ai/tools/enrichment',
80-
category: 'tools',
79+
docsLink: 'https://docs.sim.ai/blocks/enrichment',
80+
category: 'blocks',
8181
integrationType: IntegrationType.Sales,
8282
bgColor: '#9333EA',
8383
icon: EnrichmentIcon,

apps/sim/lib/integrations/icon-mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
382382
ses: SESIcon,
383383
sharepoint_v2: MicrosoftSharepointIcon,
384384
shopify: ShopifyIcon,
385-
similarweb: SimilarwebIcon,
386385
sim_workspace_event: SimTriggerIcon,
386+
similarweb: SimilarwebIcon,
387387
sixtyfour: SixtyfourIcon,
388388
slack: SlackIcon,
389389
sqs: SQSIcon,

apps/sim/lib/integrations/integrations.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3338,24 +3338,6 @@
33383338
"integrationType": "observability",
33393339
"tags": ["data-analytics", "automation"]
33403340
},
3341-
{
3342-
"type": "enrichment",
3343-
"slug": "data-enrichment",
3344-
"name": "Data Enrichment",
3345-
"description": "Enrich data with a Sim enrichment",
3346-
"longDescription": "Run a Sim enrichment to look up data — work email, phone number, company domain, company info, and more — from the fields you map in. Uses the same provider cascade as table enrichments.",
3347-
"bgColor": "#9333EA",
3348-
"iconName": "EnrichmentIcon",
3349-
"docsUrl": "https://docs.sim.ai/tools/enrichment",
3350-
"operations": [],
3351-
"operationCount": 0,
3352-
"triggers": [],
3353-
"triggerCount": 0,
3354-
"authType": "none",
3355-
"category": "tools",
3356-
"integrationType": "sales",
3357-
"tags": ["enrichment", "sales-engagement"]
3358-
},
33593341
{
33603342
"type": "databricks",
33613343
"slug": "databricks",

scripts/generate-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ function isIntegrationBlock(config: { category?: string; hideFromToolbar?: boole
10411041
* generators, vision, and STT/TTS — is excluded from the integrations icon
10421042
* map, matching {@link isIntegrationBlock}.
10431043
*/
1044-
const ICON_MAP_BLOCK_CATEGORY_ALLOWLIST = new Set(['memory', 'knowledge'])
1044+
const ICON_MAP_BLOCK_CATEGORY_ALLOWLIST = new Set(['memory', 'knowledge', 'enrichment'])
10451045

10461046
/**
10471047
* Block types that never belong in the integrations icon map regardless of

0 commit comments

Comments
 (0)