To use a different Google Apps Script in a Workflow, replace the script URL(s) with yours as shown below.
See Deploying a script as a web app for more on how to locate your Google Apps Script URL.
~~~
If the Google Apps Script URL requires parameters, append the ?
character and any following parameter information from the original url to the end of your script URL.