code: def save_data(self, trigger_id, **data):
          
          status = False
          service = TriggerService.objects.get(id=trigger_id)
          desc = service.description
  
          slack = Slack.objects.get(trigger_id=trigger_id)
  
          title = self.set_title(data)
          if title is None:
              title = data.get('subject')
          type_action = data.get('type_action', '')
  
          # set the bot username of Slack to the name of the
          # provider service
          username = service.provider.name.name.split('Service')[1]
          # 'build' a link
          title_link = ''
          if data.get('permalink'):
              title_link = ': <' + data.get('permalink') + '|' + title + '>'
          else:
              title_link = ': <' + data.get('link') + '|' + title + '>'
  
          data = '*' + desc + '*: ' + type_action + title_link
  
          payload = {'username': username,
                     'text': data}
  
          r = requests.post(slack.webhook_url, json=payload)
  
          if r.status_code == requests.codes.ok:
              status = True
          # return the data
          return status
docs: get the data from the service
  
              :param trigger_id: id of the trigger
              :params data, dict
              :rtype: dict