# Scripting AI Assistant

ProcessMaker AI Assistant for scripting is your go-to solution for scripting tasks. It empowers you to save time, maintain high-quality code, and work more efficiently, all while enjoying the benefits of an AI-powered scripting partner. Our scripting AI assistant offers the following benefits:

* Swiftly generate fully functional scripts, saving time and effort.&#x20;
* Generate documentation for your current scripts or get insight into logic of the code.&#x20;
* Edit the generated script to customize them to your needs.

## Create Scripts with ProcessMaker AI

Watch the following product tour to learn how to use AI to assist you in script generation.&#x20;

{% embed url="<https://demos.processmaker.com/demo/BP7eYbjr5gvmgjUNUZT7K>" %}

## Additional Resources

<details>

<summary><mark style="color:orange;">Learn More About ProcessMaker AI</mark></summary>

<img src="/files/osabCogInyY8vC1LtB4g" alt="" data-size="line"> [**ProcessMaker Documentation**](https://docs.processmaker.com/v/fall-2023-processmaker-platform/designer-process-modeler/generate-a-new-asset-for-a-process-using-ai-assistant): Find detailed information about ProcessMaker AI.

<img src="/files/64n2fU6kJHdsY5ahFGTe" alt="" data-size="line"> [**ProcessMaker University**](https://university.processmaker.com/): Enroll in ProcessMaker University to become a Certified Process Designer.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://processmaker.gitbook.io/quick-start-guides/fall-2023/processmaker-ai/scripting-ai-assistant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
