• 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.

Adding conditions to functions / concat text under certain conditions

Jan

Member
Hello,

I want to concat text under a certain condition like this.
In this case I want to add a twitter handle to a tweet if the twitter handle is given.
I guess I can not use router or filter because I have multiple of those conditions and too many other steps afterards.
I can not use JS code because the "SuggestedTweet" from the example below comes from another option and the javascript code does not allow any input.
(I just created a feture request for this https://pabbly.hellonext.co/p/javascript-needs-input-variables because that would make the JS code so much more flexible and powerful!)
Is there a way to solve this within Pabbly connect?

So here is what I want in "code":
SuggestedTweet = StepX.ValueSuggestedTweet;
if(StepY.TwitterHandle != '')
{
SuggestedTweet += StepY.Twitterhandle;
}

Jan
 
P

Pabblymember11

Guest
Hey @Jan

Although you are welcome to experiment with it, you probably need to contact a coder to use this. Sorry to say but we are unable to provide the technical assistance for the same in your code. For further details, please read the Code documentation.

 

Jan

Member
Hello @Supreme !

I found a solution using JS-Code I wrote myself. But I wonder if there is not other way to solve it in Pabbly Connect itself. Because not everyone is/has a coder and the JS-Function is not very secure. As soon as it contains " or ' in the input values it will break.

Jan
 
P

Pabblymember11

Guest
Hey @Jan

We have replied to your query about your concern on another thread.
 
Top