Skip to main content

#Slack9 人正在讨论

Complete the Connection in Slack 

 

Sign Your Slack User into Salesforce from Slack > A modal in your left navigation says Bring Salesforce data into Slack. Click

Sign in to Salesforce

.  

 

I am unable to get this option in slack. 

 

Bring Salesforce data into Slack is not showing

 

 

 

#Trailhead Challenges  #Agentforce  #Slack

4 个回答
0/9000

We are seeing a repeating error from the Salesforce Slack app whenever a user posts a message in Slack. The message in the channel is delivered normally, but the author also gets an ephemeral error in the Salesforce app DM. 

 

Error (Only visible to you): 

There was a problem processing the Slack event MESSAGE_EVENT ErrorType: NullPointerException 

 

This happens on every message typed directly in Slack. 

Please advise how to stop the Salesforce app from sending these errors (configuration, scopes/event subscription, or a known platform issue). If the user sends a message from Salesforce, this error does not occur and everything works correctly;  

 

 

There was a problem processing the Slack event MESSAGE_EVENT ErrorType: NullPointerException

 

 

 

#Slack  #Slack Developers  #Slack Community  #Integration

3 个回答
  1. 9月17日 07:37

    Hey Maksimilian, 

     That error is the Apex SDK for Slack telling you your message-event handler threw an unhandled exception — it's coming from your Apex code, not Slack itself. That's also why it only happens on inbound Slack messages: sending from Salesforce never touches that handler, so nothing throws.

    Turn on debug logs for the integration user and post one test message — the log will show the exact line that's null.

    Usual causes:

    • Message subtypes (bot messages, edits, thread replies, channel_join) hit the same handler but don't carry the same fields, so event.getUser()/getText() comes back null if you assume every message looks the same.
    • A SOQL lookup by user/channel ID returning no rows, then grabbing [0] before checking.

    Fix is null-guarding the handler itself — no need to touch scopes or event subscriptions. Happy to look at the handler class if you want to share it. 

0/9000

I facilitate a community group in the Trailblazer Community.  Is there an option to move it Salesforce hosted Slack community?  

 

#Slack Community  #Slack

1 个回答
  1. Khyati Mehta (InfinySkills) Forum Ambassador
    9月12日 16:28

    Hello Roy, 

     

    I myself a leader for a group in India! I don't think thats possible. The Leader's Slack group is specifically for leaders!

0/9000

We are facing a limitation with the Slack sandbox (developer environment), where the user limit is restricted to 8 members. For our use case, this is quite limiting, as we want to perform realistic UAT and integration testing that closely mirrors our production environment.

I have a couple of questions:

  1. Are there any options or recommended approaches to create a sandbox/testing environment that more closely resembles a production Enterprise Grid setup (in terms of users, apps, and integrations)?
  2. How are other organizations handling large-scale testing given the sandbox user limit?
  3. What are the best practices or enterprise-level strategies for testing Slack + Salesforce integrations before going live?

Any guidance, real-world experiences, or recommended approaches would be greatly appreciated.

Thanks in advance! 

 

#Slack Community  #Slack Developers  #Slack  #Slack Basics

4 个回答
  1. 8月30日 02:12

    This is a good point about the challenge of testing Slack + Salesforce integrations at enterprise scale. With an 8-member sandbox limit, using a combination of focused integration tests, representative test users, and staged UAT seems like a practical way to identify issues before production.

    For smaller customization needs during UAT, tools such as espaço invisível para copiar e colar can also be useful when testing how different text formats, usernames, or messages behave across Slack and other platforms.

0/9000

Hi Trailblazers,

I’m currently working on the Trailhead module “Deploy an Agent in Slack.”

As part of the exercise, I’m trying to find the Agent Request under Tools & Settings → Organization Settings → Salesforce →Agentforce. However, when I open Agentforce, the Needs Review tab shows “0 requests” and “No requested agents.”

I have attached a screenshot showing what I’m seeing.

Could someone please help me understand:

  • Why is the Agent Request not appearing?
  • Is there any additional setup or permission required?
  • Do I need to complete any specific step in the Trailhead module before the request appears?

Any guidance would be greatly appreciated. Thank you!  

Unable to Find Agent Request in Agentforce – “Deploy an Agent in Slack”

 

 

 

#Salesforce  #Trailhead  #Slack  #AgentforceBuilder

1 个回答
0/9000

⏳ You have until the end of July to enter this month's Agentforce in Action

challenge. 

 

Submit a 3–5 minute demo video of your Agentforce agent. Post publicly. Submit the form. That's it. 

Submissions close at 11:59 PM PT on the last day of the month. 

 

Don't wait. 🔗

http://www.trailhead.com/agentforceinaction

0/9000

I am working with a client to connect their Slack Enterprise to Salesforce and u 

 

In Salesforce Setup > Manage Slack Connection, it shows their Slack Org and the Status is

Waiting for activation by Slack admin. From Slack, it shows their Salesforce organization and the Connection status is Ready to Activate. 

 

When we click Activate, we repeatedly get the error: 

 

There was a problem activating your Salesforce organization

Try again or restart Slack. 

 

Anyone else see this issue? I appreciate any feedback in getting this resolved.  

 

They have reached out to Slack Support and I have followed-up but have yet to hear back. 

 

#Slack

1 个回答
  1. 7月6日 19:00

    Hi Bradley, since Slack Support hasn't responded yet, it's worth opening a parallel case with Salesforce Support — this exact activation error is usually resolved on the Salesforce side. 

     

    Before logging it, confirm the person clicking Activate is both a Standard System Administrator in Salesforce and has Slack Admin rights (or is a Slack Org Owner) — mismatched permissions on either side is the most common cause. 

     

    When you log the case, Salesforce Support will want: your Slack plan tier (Enterprise Grid, in your case), the Slack Workspace/Team ID (found in the browser URL after opening Slack, starts with "T"), a screenshot of the exact error, and confirmation of whether this ever worked before. Having that ready up front tends to speed up resolution significantly.

0/9000
1 个回答
0/9000

🌱 Everyone starts somewhere with AI 

 

The new AI Foundations Trail on Trailhead is a welcoming starting point for anyone looking to learn the basics of AI, data, and automation. 

 

Designed for beginners, this trail makes it easy to start exploring AI with approachable, hands-on learning that helps you confidently build the foundational skills you need to succeed today. 

 

In this trail you will learn about:

📊 Data Literacy: Explore, understand, and communicate with data. 

⚙️ Automation Logic: Learn about autonomous workflows.

⚖️ Responsible AI: remove bias from your data and algorithms 

🤖 Agentforce: A first look at building with autonomous agents.

 

No pressure. No expertise required.  

Get started with AI now! 

🌱 Everyone starts somewhere with AI The new AI Foundations Trail on Trailhead is a welcoming starting point for anyone looking to learn the basics of AI, data, and automation.

 

#Trailhead  #Agentforce  #Salesforce  #Agentblazer  #AI  #Salesforce Developer  #Salesforce Admin

Hi All, 

 

I am simply trying to send a slack channel message whenever an opportunity moves to closed won stage.  

 

I have an opportunity record trigger asycn flow that simply runs down the 'run async' path and has a decision check on the opportunity stage. If closed won, it runs down to Send Slack Message action and I have populated the required fields, slack app, slack workspace, executive action as, slack conversation id, and the slack message. 

 

However, during debug in my developer sandbox, I keep getting the error message:  

" 

We couldn't run action

Send Slack Message because something went wrong.

 

Hide Error

 

Info

Error

An error occurred. Try again, or contact Salesforce Customer Support and provide this error ID: 1299900440-35892 (820288246)

Inputs

slackAppIdForToken = A03269G3DNE

slackWorkspaceIdForToken = T0AUVR7GZ62

userIdForToken = null

slackConversationId = C0AUUNER0PP

slackBotName = null

slackMessage = {!tt_SlackClosedWonNotification} (Hello team, A new opportunity has been marked Closed Won. Here are the details: Opportunity: Test Contract Type Account: 001WG00001AjV6DYAV Owner: Amount: Type: New Business)

viewApiName = null

recordId = {!$Record.Id} (006WG00000sl8HZYAY)

slackMessageTimestamp = null 

" 

 

Am I doing something wrong? The details appear to be grabbing the correct values from my test opportunity? Perhaps my slack conversation id is incorrect? 

 

Thanks in advance.  

 

-Roman 

 

#Slack Community  #Slack Developers  #Slack

2 个回答
  1. 5月28日 01:43

    @Gohar Clients thanks for the message back. I was able to solve the issue FYI by using the alternative send message to slack channel DML instead. That slack action only needed a slack channel id and an email template. 

0/9000