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

    🖤 BLACK FRIDAY DEALS ARE NOW LIVE! 🖤

    🔥 Enjoy an exclusive 10% discount on our LTD Plan — first-time ever offer!

    🚀 Unlock the Pabbly Plus Unlimited Yearly Plan and get unlimited access to every Pabbly application at a truly unbeatable Black Friday price.

    👉 Grab the Black Friday Offer

Can we put the delay task in seconds instead minutes, hours, days or weeks ?

clem

Member
Your Task History ID
IjU3NjUwNTZjMDYzZTA0MzU1MjZiNTUzNTUxM2E1MTY0NTQzODBmMzQi_pc
I'm trying to build the open ai assistant for Telegram, and in the workflow it necessite a delay to reply the answer from open ai assistant to the telegram user. But the delay task is only in minutes, hours, days and weeks. But the better parameter will be in seconds because customer cant wait one minute to get the answer. I'll try a 0.1 minute, or 0,1 minute (with coma insttead point) but it isn't accepted by the task. Only round number like 1 or 2.
Is there a way to fiw this problem or should we wait for an entire minute to get the answer in Telegram ?
Thank you for your help
 

Preeti Paryani

Well-known member
Staff member
Hello @clem,

You can use "Code by Pabbly" to add a delay in your workflow. Refer to the attached image for guidance.

code:
await new Promise(resolve => setTimeout(resolve, 20000));
output = [{wait: "20000ms"}];

1734434943809.png



Alternatively, you can use the action available in Pabbly Connect, as shown in the attached screenshot.


image (38).png
 
Top