The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { defineAgent } from 'twenty-sdk/define';
import { DEFAULT_SLACK_ASSISTANT_PROMPT } from 'src/constants/default-slack-assistant-prompt';
import {
DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,
SLACK_ASSISTANT_AGENT_UNIVERSAL_IDENTIFIER,
} from 'src/constants/universal-identifiers';
export default defineAgent({
universalIdentifier: SLACK_ASSISTANT_AGENT_UNIVERSAL_IDENTIFIER,
name: 'slack-assistant',
label: 'Slack Assistant',
icon: 'IconBrandSlack',
description:
'Conversational CRM assistant reached from Slack. Answers questions and acts on workspace data as the linked workspace member who made the request.',
prompt: DEFAULT_SLACK_ASSISTANT_PROMPT,
responseFormat: { type: 'text' },
roleUniversalIdentifier: DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,
});