Resources »

Solutions Hub »

Automations »

Report a ticket as spam

Using api.command:

  • 
    start:
      api.command:
        output: results
        inputs:
          name: cerb.commands.email.spam.train
          params:
            ticket_id@int: 1234
    
    
  • 
    commands:
      api.command:
        deny/name@bool: {{inputs.name not in ['cerb.commands.email.spam.train']}}
        allow@bool: yes