• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Using Router

DGBN

Member
When setting Filter & Action Steps;
I would like the VALUE field to represent a number of text characters, which will determine whether the next action is carried out. eg if the total number of characters value in the "Select Label" field (text) is less than 250 do this, if greater than 250, do that.

However, it appears the VALUE field ONLY allows those values offered from the dropdown list of previously set up actions. Also, it's not clear whether the "Select Label" field can be read in total character terms.

Is it possible for the "Select Label" textual value in character numbers to be read as a total character number, which can then be measured against the VALUE field to determine whether the next step is made?

Or, are further previous "Actions" steps required to enable this determining calculation of total message characters to work?

Many thanks
 

ArshilAhmad

Moderator
Staff member
Hey @DGBN,

The scenario you are describing is possible. You just need to use Code by Pabbly: Run JavaScript (Beta) to find the number of characters in a workflow. Following that, use Text Formatter by Pabbly: Text Parser to extract the number, and then use this number in your Router.

JavaScript:
const sentence = "This is a sentence.";

const characterCount = sentence.length;

console.log(`The sentence "${sentence}" has ${characterCount} characters.`);

Pabbly-Connect (28).png
 
I solved a similar problem i was having myself by using a number formatter module set to performing a spreadsheet operation. Then use a formula like this:

if(LEN("value to count")>250,"true","false")

When setting up the router you can select the number formatter module and check if it is true or false.
 
Top