Copilot Plugin Tutorial

I’m following along a basic tutorial on building plugins from @copilot

It uses the Math.js library which I include in the header. The tutorial suggests that the “math” variable is already defined in the script so it is directly accessible. However when I run this function via a workflow is says “math is not defined”.

Any plugin builders able to help?


1 Like

Share a screenshot of where you load math.js in the Header. The above looks fine, provided the library has been loaded in the first place.

Included in the shared tech settings section

Ok so it’s the syntax of that which is causing you the problem.
Try something like:
<script type='text/javascript' src=' insert .js script URL here '>

Here’s a correct example


And you never got a response of whether that worked, or a thank you. Sad.

1 Like