       payload =
         message: res.message
         attachments: [dataHelper.parseActivityDetails(activityDetails)]
+
+      console.log 'Emitting payload:'
+      console.log payload
 
       robot.emit('slack-attachment', payload)
 

    message: res.message
    attachments: attachment

  robot.emit 'slack-attachment', payload

checkNetwork = (network) ->

      return deferred.reject('No activity details found')

    if activityKey not in constants.FURTHER_DETAILS
      console.log 'Resolving activity details for #{activityKey}:'
      console.log activityDetails
      return deferred.resolve(activityDetails)

    parseActivityHash(bot, activityDetails.activityHash).then (details) ->

      combinedDetails = Object.assign {}, activityDetails, details
      console.log 'Resolving combined activity details for #{activityKey}:'
      console.log combinedDetails
      deferred.resolve(combinedDetails)

    ,(err) ->
