# 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](https://docs.ylem.co/pipelines/running-and-scheduling-workflows#automatically-by-a-schedule) and proactively pull data from [databases](https://docs.ylem.co/pipelines/tasks-ip/query) or [API Endpoints](https://docs.ylem.co/pipelines/tasks-ip/api-call) 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="https://3180830455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD0FT8l3QzMrw546vOdHU%2Fuploads%2FcUb9qYK3gus1qm0QT1VG%2FScreenshot%202024-05-03%20at%2022.00.01.png?alt=media&#x26;token=6c118d72-15b6-430c-862b-080184949afa" alt=""><figcaption></figcaption></figure>
