Control flows, filtering, token generation for hubs, inline


API Overview

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

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
Renderer Content Type URL
Get Count application/json https://username.bip.io/rpc/render/channel/channel_id/get_count

Converts a JSON text body into its equivalent export

{
  "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

Generates a Payload that can be processed by a Trigger Bip

{
  "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
repl_str string Replace Stringnone
regex string Regular Expressionnone
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

Given a key,value pair, continues graph processing if the value has changed

{
  "action": "flow.delta_gate",
  "config": [
  ]
}
Parameter Data Type Description Default
key string Unique Keynone
value string Tracking Valuenone

comments powered by Disqus