Skip to content

Commit a7984bf

Browse files
authored
feat(landing): add AI-generated content disclaimer to integration landing page (#4845)
Adds an optional aiDisclaimer field to the integration landing content (types + data), rendered as an independent 'AI-generated content' section and baked into integrations.json via docs-gen. Populates Slack to satisfy Slack's AI-components guideline (disclaimer on the landing page).
1 parent 590e502 commit a7984bf

4 files changed

Lines changed: 27 additions & 1 deletion

File tree

apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,24 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
517517
</>
518518
)}
519519

520+
{/* AI-generated content disclaimer (integration-specific) */}
521+
{landingContent?.aiDisclaimer && (
522+
<>
523+
<section aria-labelledby='ai-disclaimer-heading' className='px-6 py-10'>
524+
<h2
525+
id='ai-disclaimer-heading'
526+
className='mb-4 text-[20px] text-white leading-[100%] tracking-[-0.02em]'
527+
>
528+
AI-generated content
529+
</h2>
530+
<p className='max-w-[700px] text-[15px] text-[var(--landing-text-body)] leading-[150%] tracking-[0.02em]'>
531+
{landingContent.aiDisclaimer}
532+
</p>
533+
</section>
534+
<div className='h-px w-full bg-[var(--landing-bg-elevated)]' />
535+
</>
536+
)}
537+
520538
{/* How to automate */}
521539
<section aria-labelledby='how-it-works-heading' className='px-6 py-10'>
522540
<h2

apps/sim/app/(landing)/integrations/data/integrations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13528,7 +13528,8 @@
1352813528
"privacy": {
1352913529
"body": "Sim requests only the Slack permissions its actions and triggers need, and never shows private channel names or messages to people who are not members of those channels in Slack.",
1353013530
"href": "/privacy"
13531-
}
13531+
},
13532+
"aiDisclaimer": "Sim agents use AI models to generate messages and responses sent to Slack. AI-generated content can be inaccurate or incomplete — review automated outputs before relying on them, especially for important communications."
1353213533
}
1353313534
},
1353413535
{

apps/sim/app/(landing)/integrations/data/landing-content.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ export const INTEGRATION_LANDING_CONTENT: Record<string, IntegrationLandingConte
3737
body: 'Sim requests only the Slack permissions its actions and triggers need, and never shows private channel names or messages to people who are not members of those channels in Slack.',
3838
href: '/privacy',
3939
},
40+
aiDisclaimer:
41+
'Sim agents use AI models to generate messages and responses sent to Slack. AI-generated content can be inaccurate or incomplete — review automated outputs before relying on them, especially for important communications.',
4042
},
4143
}

apps/sim/app/(landing)/integrations/data/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export interface IntegrationLandingContent {
4040
body: string
4141
href: string
4242
}
43+
/**
44+
* Disclaimer about AI-generated content, required by some marketplaces for
45+
* apps with an AI component (e.g. Slack's AI-components guideline).
46+
*/
47+
aiDisclaimer?: string
4348
}
4449

4550
export interface Integration {

0 commit comments

Comments
 (0)