Skip to main content
Best answer

How do I format Slack usernames for Google Sheets?

  • July 30, 2024
  • 7 replies
  • 64 views

I’m very new to Zapier & Automation.. please help! I created a simple trigger to copy posts from a certain Slack channel into a Google Sheet. 

I’m using the “Create spreadsheet row” tool. The error I’m experiencing is that the slack username is showing up oddly in the spreadsheet. It doesn’t match the way the username is listed in Slack. I tried to create various versions of a formatting step but I’m clearly not doing it right. Any assistance is appreciated

Best answer by Troy Tessalone

@spreadsheetsftw 

Try adding this Zap action: Slack - Find User by ID

ID without the leading @.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 30, 2024

Hi @spreadsheetsftw 

For us to have more context, post screenshots with how your Zap steps are outlined and configured in EDIT mode along with examples from the GSheet about the issue with the Slack Usernames.


 


Hope these help! 


This is what it’s currently showing up as in the spreadsheet - in this case, the. user’s name in Slack is “@Blake *LastName*”, but this is how it appears when copied

My transform appears to pull the userID from the slack post but I can’t figure out how to translate that into their username as it appears. 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 30, 2024

@spreadsheetsftw 

Can you post screenshots showing context of this from GSheets?

The error I’m experiencing is that the slack username is showing up oddly in the spreadsheet. It doesn’t match the way the username is listed in Slack.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • July 30, 2024

@spreadsheetsftw 

Try adding this Zap action: Slack - Find User by ID

ID without the leading @.

 


That worked - thank you!