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).
This commit is contained in:
Waleed
2026-06-01 20:18:22 -07:00
committed by GitHub
parent 590e502a38
commit a7984bff9e
4 changed files with 27 additions and 1 deletions
@@ -517,6 +517,24 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
</>
)}
{/* AI-generated content disclaimer (integration-specific) */}
{landingContent?.aiDisclaimer && (
<>
<section aria-labelledby='ai-disclaimer-heading' className='px-6 py-10'>
<h2
id='ai-disclaimer-heading'
className='mb-4 text-[20px] text-white leading-[100%] tracking-[-0.02em]'
>
AI-generated content
</h2>
<p className='max-w-[700px] text-[15px] text-[var(--landing-text-body)] leading-[150%] tracking-[0.02em]'>
{landingContent.aiDisclaimer}
</p>
</section>
<div className='h-px w-full bg-[var(--landing-bg-elevated)]' />
</>
)}
{/* How to automate */}
<section aria-labelledby='how-it-works-heading' className='px-6 py-10'>
<h2
@@ -13528,7 +13528,8 @@
"privacy": {
"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.",
"href": "/privacy"
}
},
"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."
}
},
{
@@ -37,5 +37,7 @@ export const INTEGRATION_LANDING_CONTENT: Record<string, IntegrationLandingConte
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.',
href: '/privacy',
},
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.',
},
}
@@ -40,6 +40,11 @@ export interface IntegrationLandingContent {
body: string
href: string
}
/**
* Disclaimer about AI-generated content, required by some marketplaces for
* apps with an AI component (e.g. Slack's AI-components guideline).
*/
aiDisclaimer?: string
}
export interface Integration {