How to retrieve info from integrations POST?

Hi. I'm attempting to create an integration to keep track of certain dev environments for users in a room. Currently I've gotten as far as setting up a Node server and returning a string in response to a slash command.

However, in the "example webhook data", none of the JSON seems to be defined as listed:


I tried to log the item but it only comes back as "Undefined". 


Logging the req itself shows a massive JSON object, but scrolling through it doesn't reveal anything that looks related to the "example webhook data".

Essentially I would like to have users be able to type a slash command and then an argument or series of arguments, and return data based on that. Any help would be greatly appreciated.

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

469 views 1 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot