# \[Code Tasks\] How to Extract the Workflow Run ID from its URL

**URL:** <https://community.process.st/t/code-tasks-how-to-extract-the-workflow-run-id-from-its-url/1913>\
**Category:** How To\
**Tags:** workflows, code-tasks\
**Created:** [August 19, 2025, 8:57am UTC](https://community.process.st/t/code-tasks-how-to-extract-the-workflow-run-id-from-its-url/1913 "2025-08-19T08:57:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ellie](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.process.st/ellie/32/42_2.png) [@Ellie](https://community.process.st/u/Ellie)\
**Post date:** [August 19, 2025, 8:57am UTC](https://community.process.st/t/code-tasks-how-to-extract-the-workflow-run-id-from-its-url/1913/1 "2025-08-19T08:57:59Z")

</div>

Brenda shows you how to extract the workflow run ID using a [Code Task](https://www.process.st/help/docs/code-task/) which can be used in another code task or another integration or API call.

https://www.loom.com/embed/6d3ecd4fee90470cae37c08e18649f5e?sid=4152fa96-0fce-45ee-b89d-3d20c2235961
