--- title: "Execute Pipeline" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/pipelines/execute-pipeline/ description: "This page describes the method to perform operations using the components in SmartBrowz Services." last_updated: 2026-09-09T10:45:38Z service: Pipelines type: general related_links: - name: "Catalyst Pipelines" url: /en/pipelines/help/pipelines/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/pipelines/execute-pipeline/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/pipelines/execute-pipeline/ - name: "REST API Documentation" url: /en/api/code-reference/pipelines/execute-pipeline/#ExecutePipeline repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Execute Pipeline > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/pipelines/overview/#prerequisites) to use this SDK method. You can initiate a Catalyst pipeline run by passing the [pipeline ID](https://docs.catalyst.zoho.com/en/pipelines/help/pipelines/create-a-pipeline/) and the branch name to the `runPipeline()` SDK method. You can also pass environment variables required for the pipeline execution in a JSON object to this method, and it is completely optional. This method returns the execution history details of the pipeline as the response. The `pipelines` reference used in the code snippets below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/pipelines/create-instance/) created to perform these operations. ```javascript // run the pipeline const execution_details = pipelines.runPipeline("PIPELINE_ID", 'BRANCH_NAME',{"EVENT": "push", "URL":"https://www.google.com"}); // replace the params with your pipeline id, branch, event and url ``` #### Example of Expected Response ```json { "history_id": "5000000021007", "pipeline_id": "8431000000162051", "event_time": "Mar 20, 2024 02:02 PM", "event_details": { "BRANCH_NAME": "main", "EVENT": "push", "URL": "https://www.google.com" }, "history_status": "Queued" } ```