Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Adding field names to Slack integration

Hello All

I think I am probably being stupid, so apologies in advance for that. I am trying to create a rule in Trello which automatically posts to a Slack channel when things happen, like a new card being created. Setting the trigger for this is easy and it works, but I want to add fields like {cardname} into the command so the Slack message can contain it. However, I can't see a way to do this because the Butler treats any text added in the message text field as text, doesn't recognise the curly quotes as referring to a field. I can't see any way to alter the command other than via the wizard-style editor (i.e. I can't see how to edit the text of the command which the editor generates). 

I'm using a free tier of Trello so maybe it's a limitation of that, but if anyone could point me in the right direction I'd be really grateful.

3 answers

3 accepted

0 votes
Answer accepted

Hey @Dominic Young 

These tutorial videos might help with setting up Butler to post messages. These are slightly different use cases for Butler and Slack but the message part is the same and should show you how to set them up so it posts correctly in Slack based on the variables.

(I've started them at the point where I start setting up the Slack message part, but feel free to watch from the beginning for more details)

Hope that helps! Feel free to send us a screenshot of your set-up if you want more help so we can see how it looks for you. 



Great, thanks, I'll check them out!


Like Dan Ivory _Orah Apps_ likes this

Thanks all for your help. Embarrassingly enough the problem came down to fat-fingers. But I learned a lot!



Like Dan Ivory _Orah Apps_ likes this
0 votes
Answer accepted

Hey, I use notifications in slack all the time, and using variables work fine in them for me. This is an example of one I have that works. Is this what you're doing, too?


I think the problem is I can't see how to directly edit that text, I can only access a sort of visual wizard tool... 

0 votes
Answer accepted

@Dominic Young 

Thanks for your post. It gets me thinking about text merge capability. I will update when I come up with something. 

Update :

I submit that if there is an easier way you should use it. (See my additional reply below - tested using {variable} in slack message and it below is quite redundant for this specific purpose.

I created a module which will be called using Butler Http Request which will replace any text by looking for a match key-value pair in the payload and replace string with the value found.

Here's an example

{"text" : "The values of %cardidlong% and %cardname% should appear in the returned text in {httprepsonse.text}", "%cardidlong%" : "{cardidlong}", "%cardname%" : "{cardname}"}

You will use {httpresponse.text} in your Slack Message.


I have a lot to learn..!

@Dominic Young 

I had this simple test card command

post message "This is the card id from which this message is triggered : {cardidlong}" to Slack channel "#trello_slack" in workspace "Workspace" as myself

and the value is sent.

So I agree with @Raegan Fordemwalt 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,336 views 28 40
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you