ManyChat Router - Growsales AI
AI-generatedSummary
Evaluate multiple routing conditions on ManyChat subscribers or input JSON for each incoming item, sending the item to the corresponding True or False output of each route based on the condition match.
Inputs
- Identify Subscriber By — Choose how to identify the subscriber for routes that check subscriber tags or custom fields: by Subscriber ID or by a Custom Field search.
- Subscriber ID — Specify the ManyChat subscriber ID to identify the subscriber when 'Identify Subscriber By' is 'Subscriber ID' (default value can come from incoming JSON's subscriber_id).
- Search Field — Choose how to specify the custom field to identify the subscriber when 'Identify Subscriber By' is 'Custom Field': select from list or enter ID manually.
- Search Field (Custom Field) — Select the custom field (by ID) used to search the subscriber when 'Identify Subscriber By' is 'Custom Field' and 'Select from List' is chosen.
- Search Field ID (Custom Field) — Enter the custom field ID manually when 'Identify Subscriber By' is 'Custom Field' and 'Enter ID Manually' is chosen.
- Search Value — The value to search for in the custom field when identifying a subscriber by custom field.
- Routes (required) — Configure one or more routes, each defining a condition to test per item on subscriber tags, custom fields, bot fields, JSON fields, or subscriber existence. Each route produces two outputs: one for when the condition matches (True) and one for when it does not (False). Each item is routed independently on every configured route.
Output shape
An array of outputs, each route contributing two outputs: the first for items where its condition matched (True), the second for items where its condition did not match (False). The total outputs equals twice the number of configured routes, supporting up to 10 routes.
The node requires ManyChat API credentials but can run without them if only evaluating JSON field conditions. Identification by Subscriber ID or Custom Field is mandatory for subscriber-dependent conditions. Each item is evaluated against all routes independently and routed accordingly. On errors, if 'Continue On Fail' is enabled, items are sent to all False outputs; otherwise, execution stops with an error.
Examples
Example 1: Route items based on whether a ManyChat subscriber has a specific tag
Set 'Identify Subscriber By' to 'Subscriber ID', provide 'Subscriber ID' field, add a route with 'Filter Type' set to 'Tag', select or enter the tag name, then use the True output to handle matched subscribers and False output otherwise.
Example 2: Route items by checking a custom field's value on a subscriber
Set 'Identify Subscriber By' to 'Custom Field', specify which custom field and value identify the subscriber, then add a route with 'Filter Type' set to 'Custom Field', select the field and operator to evaluate, and route items through the True or False output accordingly.
