The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat(slack): point the channel welcome at the DM as the private path (#25585)
Abdul Rahman8b1b5cd6b860
diff --git a/packages/twenty-apps/public/slack/SETUP.md b/packages/twenty-apps/public/slack/SETUP.mdindex a338b8883e8..eda0678c12b 100644--- a/packages/twenty-apps/public/slack/SETUP.md+++ b/packages/twenty-apps/public/slack/SETUP.md@@ -362,10 +362,11 @@ configured.gets an ephemeral nudge (only that member sees it) to mention the bot again.- **Channel welcome.** With `member_joined_channel` subscribed, the bot posts ashort introduction the first time it is added to a channel, with the details- in a thread reply so the channel itself stays quiet. It fires once per channel- for 30 days, and only for the bot's own join — humans joining afterwards- trigger nothing. Skip the subscription if you would rather it arrived- silently.+ in a thread reply so the channel itself stays quiet. It names both ways to+ reach the bot: mention it in the channel, or DM it to keep a question and its+ answer out of the channel. It fires once per channel for 30 days, and only for+ the bot's own join — humans joining afterwards trigger nothing. Skip the+ subscription if you would rather it arrived silently.- **One Slack workspace per Twenty workspace.** Connecting Slack claims thatSlack team for the connecting Twenty workspace, and on the same server asecond Twenty workspace connecting the same team is rejected. Removing the lastdiff --git a/packages/twenty-apps/public/slack/package.json b/packages/twenty-apps/public/slack/package.jsonindex b4df3ad3bae..e6385ad0cd9 100644--- a/packages/twenty-apps/public/slack/package.json+++ b/packages/twenty-apps/public/slack/package.json@@ -1,6 +1,6 @@{"name": "@twentyhq/slack",- "version": "1.0.0",+ "version": "1.0.1","description": "Slack assistant and workflow steps for Twenty","license": "MIT","engines": {diff --git a/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-text.ts b/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-text.tsindex 9b7a5065065..8a2ae1de0cb 100644--- a/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-text.ts+++ b/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-text.ts@@ -1,5 +1,5 @@export const SLACK_CHANNEL_WELCOME_TEXT = [":wave: Hi! I'm Twenty, your CRM in this channel.",- "Mention me here or send me a DM and I'll answer in the thread: pipeline questions, company and contact lookups, creating and updating records, capturing notes and tasks.",- 'Details on how I work and what I can see are in the thread. Ask me anything.',+ "Mention me here and I'll answer in the thread: pipeline questions, company and contact lookups, creating and updating records, capturing notes and tasks.",+ 'Or DM me to keep a question and its answer out of the channel. Details on how I work and what I can see are in the thread. Ask me anything.',].join('\n\n');diff --git a/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-thread-text.ts b/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-thread-text.tsindex 7a1c5aca447..5f1ff6d826a 100644--- a/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-thread-text.ts+++ b/packages/twenty-apps/public/slack/src/logic-functions/constants/slack-channel-welcome-thread-text.ts@@ -7,7 +7,7 @@ export const SLACK_CHANNEL_WELCOME_THREAD_TEXT = [].join('\n'),'**How I work with your data**',[- "- I only act when you mention me, or in a thread I've already replied in. Channel threads stay open to me for 24 hours after my last reply",+ "- I only act when you mention me, or in a thread I've already replied in. Channel threads stay open to me for 24 hours after my last reply. DM threads never expire",'- When you mention me I read recent messages in that thread for context',"- I can read, create, update and archive people, companies, opportunities, notes and tasks. I can't permanently delete anything and I can't change workspace settings","- If your Slack email matches your Twenty account, I act as you and can't see or change anything you couldn't yourself. Otherwise I fall back to the shared **Slack Assistant** role",