# Pull-Push

A **Pull-Push** pattern represents a situation when a pipeline needs to retrieve (pull) data from one integration, do some processing, and forward (push) it to another destination.

This situation is typical for pipelines that are [run by a schedule](/pipelines/running-and-scheduling-workflows.md#automatically-by-a-schedule) and proactively pull data from [databases](/pipelines/tasks-ip/query.md) or [API Endpoints](/pipelines/tasks-ip/api-call.md) instead of being triggered from outside.

In this example, the pipeline pulls data from a database, checks that the dataset is not empty, does some processing for each of the items, and pushes them to another database one by one.

<figure><img src="/files/EfLnKsxxepNXicAbuBQ6" alt=""><figcaption></figcaption></figure>


---

# 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://docs.ylem.co/use-cases/messaging-patterns/pull-push.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.
