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

  • Due to Diwali and Bhai Dooj celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed. Normal operations will resume on Friday, 24th October 2025.

parse string - default values

Nexify

Member
We have an automation that has an email as the trigger.
In this email there is a string in this format:

taak:J:01/12/2023:31/12/2023:4u:description

With this I want to create a task in motion.
I can split the string so I have the separate array values.
action: taak
person: J
start date: 1/12/2023
due date: 31/12/2023
duration: 4u
Description: description

But, how can I easily add a default value if the sent string is for example:

taak:J::31/12/2023:4u:description (there is no start date). I would like to put in a default value (for example today).
Same goes for all the other ones.

Filters are not appropriate because it needs to continue, regardless. Router is not working here either.
Do I need to write a regex expression?

Is there an easy way to do this?
 
A

Arshita

Guest
Hey @GroeiGarage

Kindly provide us the workflow name in which you are getting issue.

So we can check on it and guide you further.
 
A

Arshita

Guest
Please allow me some time to check your use case with our team. I will get back to you soon.
 
P

Pabblymember11

Guest
Filters are not appropriate because it needs to continue, regardless. Router is not working here either.
Do I need to write a regex expression?
The current action step doesn't support converting this particular string directly. However, you might find success by attempting to use a Regular Expression to perform the conversion instead.
 
Top