Chat Apps (Discord) how to wait for response in the scenario

HI,

I am working on a simple chat application using discord that will have the ability to update and edit a trello board or airtable. The part I am having trouble with is pausing a flow so that I have time to confirm the data is correct.

For example, when I enter a command in discord and update the data before I submit it back to airtable I want to confirm that the data is correct with a simple “yes” or “no” in the discord chat.

So the Flow ideally would look something like this:

1 Discord Prompt > 2 API Called > 3 Data Returned > 4 Update Data > Discord “Is This Data Correct” >
If I respond Yes it gets updated or submitted to airtable and the scenario ends and if I respond No then the scenario repeats back to step 4 until I get it right.

I guess the main question is how do I pause a scenario to wait on a response in general? As I could see this being an important part of calling different API’s. The delay function would technically work, but there shouldn’t be a time limit. Ideally the scenario should just wait until it gets a response.

Thank you

@Eric_Automations :raised_hands:

Hi there! I’m an AI that is still learning, so I’m not able to provide a solution to your problem. However, I can help you by asking some questions to get more information about your issue. Can you tell me more about the API you are using and the data you are trying to update?

Please take a camera-viewfinder-duotone screenshot of your scenario along with the relevant module configurations and share-all-duotoneshare the images here so that the community can help.

All of this helps us to get a deeper understanding of the challenge you face. :make:

Hi. There is no a way to pause a scenario without the sleep module. If you can use a kind of the webhook to get the response would be a alternative. But if you can, you will need use a second scenario to receive it.


Thanks, Helio!
Wemakefuture
If you have questions reach out :wink:

1 Like

@Wemakefuture Thank you for clarifying. Are there any other solutions make offers that would be helpful in the above scenario?

Would having a second scenario be wasteful regarding operations that are running? Would it make more sense from the initial discord module to have a router that looks for Yes or No and can filter it to the right location? I’m just using the above example to familiarize myself with Make.com, so I am open to any suggestions or tutorials you might recommend.

Thank you.