Mention a teammate via Custom Actions | Community
Skip to main content
Submitted

Mention a teammate via Custom Actions

Related products:Integrations, API & Custom Actions
  • September 19, 2023
  • 8 replies
  • 68 views

Hi,

To give you an idea - I’ve created a custom action to leave a note on specific conversation matching certain rules. What I couldn’t find in the docs and I am struggling with, is to also mention a teammate via custom actions if they hit the rules. Is this possible?

8 replies

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • September 21, 2023

Hi @User2037 👋 Eden from the support engineer team here.

 

I know you opened a Support conversation about this as well, but I’m leaving the response here for visibility! At the moment, there isn't a way to mention a teammate when adding a note via our API, which means mentioning a teammate isn't possible with Custom Actions. The same is true when adding a note in a Workflow automation-- there is no possibility to @mention within the note. This is a great feature request though and I have submitted this feedback to the product team. 👍


Forum|alt.badge.img+1
  • Active User
  • September 26, 2023

I also need this functionality - to let a teammate know to complete a specific action. Thank you!


Actually you can do it using HTML in your note.

For example here is the content of the note in my external service : 

 

`<html><body> <p>Hey <a class="entity_mention"href="//app.intercom.com/apps/ReplaceWithYourInstanceID/admin/GetAdminIDHere">GetAdminNameHere</a> 👋</p></body></html>`

I’m pre-getting all value using the /admins route from the API.


Forum|alt.badge.img+1
  • Active User
  • January 17, 2024

Thanks for the details, Greyg. I am struggling to find my use case from when I wrote this but it definitely comes up for me so I’ll try this next time.


  • New Participant
  • January 19, 2024

Nice workaround @Greyg Sinigaglia de Malibran! It doesn’t seem to populate the Mentions inbox though. Have you got that working?


  • New Participant
  • January 19, 2024

Nevermind, got it working with @Magnus help from support. Used this in my payload:
 

{
"message_type": "note",
"type":"admin",
"body":"<a class=\"entity_mention\" href=\"//app.intercom.com/apps/{{WORKSPACE ID}}/admin/{{ADMIN ID}}\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">{{ADMIN NAME}}</a> this is a test comment.",
"admin_id":{{ADMIN ID}}
}

Works great and also adds to the person’s Mentions inbox. 🙌🏼


Yes it populate the mention inbox + mail notification @Sean Kennedy ;) 


Jennifer K
Intercom Team
Forum|alt.badge.img+3
  • Intercom Team
  • February 16, 2024
NewDiscussion ongoing