2068bb65b4
as title <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/23650?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
38 lines
1.6 KiB
TypeScript
38 lines
1.6 KiB
TypeScript
import { defineApplication } from 'twenty-sdk/define';
|
|
|
|
import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
|
|
|
|
export default defineApplication({
|
|
universalIdentifier: APPLICATION_UNIVERSAL_IDENTIFIER,
|
|
displayName: 'Slack',
|
|
description:
|
|
'Your CRM, in the conversation. Mention the bot or DM it to ask about your records and create, update or soft-delete them without leaving Slack, and use the Slack steps to post messages, ephemerals, updates, deletes and reactions from your workflows.',
|
|
logoUrl: 'public/slack.svg',
|
|
author: 'Twenty',
|
|
category: 'Communication',
|
|
websiteUrl: 'https://docs.twenty.com/developers/extend/apps/getting-started',
|
|
termsUrl: 'https://www.twenty.com/terms',
|
|
emailSupport: 'contact@twenty.com',
|
|
issueReportUrl: 'https://github.com/twentyhq/twenty/issues',
|
|
serverVariables: {
|
|
SLACK_CLIENT_ID: {
|
|
description:
|
|
'OAuth client ID from your Slack app (api.slack.com/apps). Public in OAuth flows; only the client secret must stay confidential.',
|
|
isSecret: false,
|
|
isRequired: true,
|
|
},
|
|
SLACK_CLIENT_SECRET: {
|
|
description:
|
|
'OAuth client secret from your Slack app. Stored encrypted; never exposed in API responses.',
|
|
isSecret: true,
|
|
isRequired: true,
|
|
},
|
|
SLACK_WEBHOOK_SECRET: {
|
|
description:
|
|
'Signing secret from your Slack app (Basic Information → App Credentials). Used to verify Slack Events API requests for the assistant. Only required if you enable the conversational assistant.',
|
|
isSecret: true,
|
|
isRequired: false,
|
|
},
|
|
},
|
|
});
|