|
|
@@ -21,7 +21,7 @@ module Agents
|
21
|
21
|
|
22
|
22
|
Here's a tip: you can use Liquid templating to dynamically determine the action type. For example:
|
23
|
23
|
|
24
|
|
- - To create a CommanderAgent that receives an event from a WeatherAgent every morning to kick an agent flow that is only useful in a nice weather, try this: `{% if conditions contains 'Sunny' or conditions contains 'Cloudy' %}run{% endif %}`
|
|
24
|
+ - To create a CommanderAgent that receives an event from a WeatherAgent every morning to kick an agent flow that is only useful in a nice weather, try this: `{% if conditions contains 'Sunny' or conditions contains 'Cloudy' %}` `run{% endif %}`
|
25
|
25
|
|
26
|
26
|
- Likewise, if you have a scheduled agent flow specially crafted for rainy days, try this: `{% if conditions contains 'Rain' %}enable{% else %}disabled{% endif %}`
|
27
|
27
|
|