name: process_tweet
description: Trigger processing of tweet.
enabled: true

trigger:
    type: twitter.matched_tweet
    parameters: {}

action:
    ref: purr.process_tweet
    parameters:
        contestant: "{{trigger.user.screen_name}}"
        tweet_text: "{{trigger.text}}"
        tweet_timestamp: "{{trigger.created_at}}"

name: process_tweet
description: Trigger processing of tweet.
enabled: true

trigger:
    type: twitter.stream_matched_tweet
    parameters: {}

action:
    ref: purr.process_tweet
    parameters:
        contestant: "{{trigger.user.screen_name}}"
        tweet_text: "{{trigger.text}}"
        tweet_timestamp: "{{trigger.created_at}}"

Switch rule to use twitter streaming sensor
Switch rule to use twitter streaming sensor
