Skip to main content

Message trigger output does not contain actual data

  • September 9, 2020
  • 2 replies
  • 1189 views

I am trying to create a custom recipe that accepts a message as part of the user input. When I receive the event on my server, it looks like this:

{                                                     
  payload: {                                          
    blockMetadata: null,                              
    inboundFieldValues: {                             
      boardId: 700512087,                             
      itemId: 700512094,                     
      message: 'Here is the update: {pulse.text} {pulse.name}{board.name}{user.name}{pulse.group}{pulse.person}{pulse.status}{pulse.date4}'                       
    },                                                
    inputFields: {                                    
      boardId: 700512087,                             
      itemId: 700512094,                     
      message: 'Here is the update: {pulse.text} {pulse.name}{board.name}{user.name}{pulse.group}{pulse.person}{pulse.status}{pulse.date4}'                       
    }                                                 
  }                                                   
}

As you can see, the column values are not actually sending as part of the payload, only the column ids.

In the UI when creating the recipe, I added the auto-populate values, and it looks like this:
image

Is this normal behavior?

This topic has been closed for replies.

2 replies

dipro
Forum|alt.badge.img
  • Leader
  • September 9, 2020

Hey Jasper! Welcome to our community.

Yes, that’s correct – at the moment messages won’t be sent to your app with these fields populated. However, your app can use them as placeholders and populate the data when the action runs via an API call.

The fields are structured as such:

  • item.name = the item’s name
  • item.columnId = data from the column whose ID is “columnId”
  • user.name = the name of the user
  • board.name = the name of the board.

I hope that helps!


  • Author
  • New Participant
  • September 10, 2020

Interesting. Ok thanks for the confirmation here. I was at a loss for a while.