Control flows, filtering, token generation for hubs, inline

Here's what you can do with Flow Control!

Conditionally forwards or discards messages matching certain search patterns

{
  "action": "flow.match",
  "config": {
    "accept_on": "value",
    "discard_on": "value"
  }
}
Parameter Data Type Description Default
accept_on string Accept if content matchesnone
discard_on string Discard if content matchesnone
Parameter Data Type Description Default
accept_on string Accept if content matchesnone
discard_on string Discard if content matchesnone
funnel string Content Funnel. If empty, matches any importnone

Given an XML document, converts it to usable JSON exports

{
  "action": "flow.xml2json",
  "config": [
  ]
}
Parameter Data Type Description Default
body string XML Message Bodynone

Generate a Random 64 bit string

{
  "action": "flow.nonce",
  "config": [
  ]
}
Parameter Data Type Description
nonce string random string

Given an JSON document, generates an export for each row

{
  "action": "flow.ksplit",
  "config": [
  ]
}
Parameter Data Type Description Default
rows string JSON Objectnone
Parameter Data Type Description
key string Source Key
index integer Item Offset
value mixed Key Value

Generates an export for every line in a text document (Windows/Mac/Linux)

{
  "action": "flow.lsplit",
  "config": [
  ]
}
Parameter Data Type Description Default
body string Text Bodynone
Parameter Data Type Description
index integer Line Number
value string Line Value

Generates an export for every line in a text document, split by custom delimiter

{
  "action": "flow.str_split",
  "config": [
  ]
}
Parameter Data Type Description Default
body string Text Bodynone
split_by string Separator Stringnone
Parameter Data Type Description
index integer Line Number
value string Line Value

Drops a message on the floor. Ends delivery

{
  "action": "flow.blackhole",
  "config": [
  ]
}

A simple accumulator, +1 every time the channel is invoked

{
  "action": "flow.counter",
  "config": [
  ]
}
Parameter Data Type Description Default
group_by string Group Bynone
increment_by integer Increment By1
Parameter Data Type Description
new_count integer New Count

Convert Text to JSON

{
  "action": "flow.text2json",
  "config": [
  ]
}
Parameter Data Type Description Default
body string JSON Stringnone

Encodes HTML Entities, strips <script> tags and XSS

{
  "action": "flow.entity_encode",
  "config": [
  ]
}
Parameter Data Type Description Default
funnel string Content Funnel. If empty, encodes all adjacent importsnone

Decodes HTML Entities

{
  "action": "flow.entity_decode",
  "config": [
  ]
}
Parameter Data Type Description Default
funnel string Content Funnel. If empty, decodes all adjacent importsnone

Periodically Generates A Static Payload

{
  "action": "flow.generator",
  "config": {
    "payload": "value"
  }
}
Parameter Data Type Description Default
payload string Payloadnone
Parameter Data Type Description
payload string Payload

Any files present will be replaced with their GZipped equivalent

{
  "action": "flow.file_gzip",
  "config": [
  ]
}

Replace a String by Regulr Expression

{
  "action": "flow.regex_replace",
  "config": [
  ]
}
Parameter Data Type Description Default
in_str string Input Stringnone
regex string Regular Expressionnone
repl_str string Replace Stringnone
Parameter Data Type Description
out_str string Output String

Conditionally forwards a message if the input has a true-like value

{
  "action": "flow.truthy",
  "config": [
  ]
}
Parameter Data Type Description Default
value string Input Valuenone

Conditionally forwards a message if the input has a false-like value

{
  "action": "flow.falsy",
  "config": [
  ]
}
Parameter Data Type Description Default
value string Input Valuenone

Continues processing if a value you're tracking changes

{
  "action": "flow.delta_gate",
  "config": [
  ]
}
Parameter Data Type Description Default
key string Unique Keynone
value string Tracking Valuenone
delta_precision number Floating Point Delta Precision1
Parameter Data Type Description
delta string Delta

Conditionally forward a message when a file is present

{
  "action": "flow.has_files",
  "config": {
    "extension": "value"
  }
}
Parameter Data Type Description Default
extension string File Extension (Optional)none

Ignores Values which have been seen before

{
  "action": "flow.dedup",
  "config": [
  ]
}
Parameter Data Type Description Default
value string New Valuenone