The Send to Story agent allows you to send data to a sub-story where it can be further processed.

Sub-stories are special stories in Tines that can be used to perform a common action or set of actions. Use the Send to Story agent to send data to an ‘analyse URL’ sub-story or a ‘deprovision user’ sub-story.

Features

  • Send event data to sub-stories where it can be processed.

Configuration Options

  • story: Provide the name, id or guid of the sub-story to which data should be sent. Use the story widget {% story %} to easily find sub-stories in the tenant.
  • payload: Provide data that should be sent to the sub_story. Include information from upstream events by specifying a wrapped JSONPath.
  • expected_update_period_in_days: (Optional) Set this key to the maximum amount of days expected to pass between Events being created by this Agent. If this period passes without any Events being emitted, the Agent will be marked as “Not Working”.

Emitted Events

Events emitted by the Send to Story agent will contain information returned by the sub-story’s exit agent.

Example Configuration Options

Send a single URL to a sub-story to analysis. Use the story widget to locate the sub-story’s ID by name.

{
  "story": "{% story Analyse_URL %}",
  "payload": {
    "url": "http://evil-site.net"
  }
}

Send the same URL for analysis, but this time use the ID of the story.

{
  "story": 7,
  "payload": {
    "url": "http://evil-site.net"
  }
}