Is it possible to customize the response when resuming a delayed workflow?

This topic was automatically generated from Slack. You can find the original thread here.

Hi everyone, is there a way to return a custom response when a resume link is pressed after delaying a workflow? Currently, I only get Resume requested so I am wondering if I can change it to something different. Thanks!

Hi , have you tried changing the configuration of your trigger to allow a custom response instead of the default 201?

Then you should be able to use $.flow.respond to define your own response.

not right now, but we’re tracking that feature request here: [FEATURE] Enable custom resume requests · Issue #3178 · PipedreamHQ/pipedream · GitHub

Hi guys, thanks for your replies. I see that this issue has not been updated since Jun 18, do you happen to have some sort of ETA I can relay back to my client as a part of managing expectations? Thanks!

I don’t, but maybe you can tell me a bit more about your use case, so we have additional info as an input to prioritization.

No worries. I use this as an expiry measurer of a lead. Meaning, if the user clicks resume, we can proceed with a lead process, otherwise, once the delay timer finishes we cancel all further progress on the lead. We just want to be able to display a user friendly message/redirect them to my client’s homepage when the link is visited. Please let me know if you have any further questions :slight_smile:

Got it, that’s helpful. The use case makes total sense. I’ll update the ticket on our end with that additional info! Make sure to subscribe to the GitHub issue so you receive any updates we post.

Awesome, really appreciate the help Danny. Have a great day :slightly_smiling_face:

Hi and @U02SX7ETBFB, any updates on this? This is quite crucial for my client and I still have no work-around. They work with clients that are not technically savvy and the standard text “Resume requested” confuses them.

Thanks again for your patience — to confirm, it sounds like being able to redirect the cancel and resume endpoints to a URL that you specify would satisfy your requirements?

Yes that sounds perfect. Either that or just a textual response is good. Thank you so much!

Hi , really sorry for pestering you. I appreciate the support you are providing, however, am I able to get an ETA I can report back to the client?

Hey Guy, sorry for the delay, and no worries on pestering — I’m sorry but I don’t have an eta for you right now. I’m still going back and forth with engineering on the best way to handle. It’s definitely on the team’s radar but I can’t give you a timeline right now.

Hi , thank you for your support. Just wondering if there is any information on this as of yet. :slightly_smiling_face: