# Synchronous Scenarios

Synchronous scenarios in Directual are designed for two specific use cases:

* POST-Requests with a response
* Invoking a scenario with the [Link scenario step](https://readme.directual.com/scenarios/editing-scenarios/system-steps/link-scenario-step) (when you have to wait until a linked scenario has completed its exaction.

{% hint style="warning" %}
**Note:** It's important to be aware that synchronous scenarios operate more slowly than regular scenarios and consume [computing resources](https://readme.directual.com/pricing-and-billing/on-demand-resource-consumption) with a coefficient of 3x.
{% endhint %}

{% embed url="<https://youtu.be/RmaQCmhgslU>" %}

{% hint style="info" %}
Any scenario can be run synchronously, regardless of the triggers selected.
{% endhint %}

## **Running synchronous scenarios in POST-requests:**

To execute a scenario synchronously with a POST-request, you must select it in the API-endpoint settings.

![](https://3071851461-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Nnmtk9_gFGWOddsf6%2F-MBcnS6aCg3J4_7sb3Zn%2F-MBcvV_R3ibjVeplyn5k%2Fsync.gif?alt=media\&token=24776172-36d4-48ce-94fe-acee3aa8df51)

When an API-endpoint is configured with a synchronous scenario, all objects sent via POST-requests (including requests from the [form](https://readme.directual.com/web-pages/components/legacy-components/form)) will be processed within this scenario. The response to the POST-request will include the object after it has been processed in the scenario.

## **Running scenarios synchronously with Link scenario step:**

By default, when you link a scenario, it runs asynchronously, allowing the object to progress through the scenario independently. However, if you need the object to wait until the linked scenario has completed, you can call the scenario synchronously. This ensures that the object remains in a holding state until the linked scenario finishes its execution.

![](https://3071851461-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Nnmtk9_gFGWOddsf6%2F-MU3-QcFjEAp9xKPMhGS%2F-MU30Ev-3bJtfwxaeKME%2Flink_synch.gif?alt=media\&token=cdf9630f-b370-4633-b213-ddbad6ce31db)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://readme.directual.com/scenarios/synchronic-scenarios-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
