Before you begin
- In your Next Matter portal, go to Automations library, click Connect in the OpenAI app tile, and enter your OpenAI API key.
Analyze or generate text
- Click Workflows > + Create new… > Create a new workflow and give your workflow a name. If you have a workflow ready, click … > Edit workflow.
- Click + Add step and select Integrations > OpenAI.
- Click the step and click Configure integration.
- Select Process/generate text with AI in OpenAI action.
- Enter the prompt and select the AI model and the output type.

- (Optional) If needed, you can tweak the request by providing data in the Advanced AI configuration dropdown.
- Select the output text as a variable you can refer to later on.
- Save your changes.
Use cases
- You can use the no-code step to, for example, analyze customer emails for the support team, surface the email’s main points, and measure the sentiment.
- You can analyze customer emails to automatically input data into insurance claim forms that customers can review and confirm.
Process images
- Click Workflows > + Create new… > Create a new workflow and give your workflow a name. If you have a workflow ready, click … > Edit workflow.
- Click + Add step and select Integrations > OpenAI.
- Click the step and click Configure integration.
- Select Process images with AI in OpenAI action.

- Enter the prompt and select the AI model and the output type.
- Select the data reference to the images uploaded in any of the previous steps. PDF files aren’t supported.
- (Optional) If needed, you can tweak the request by providing data in the Advanced AI configuration dropdown.
- Select the output text as a variable you can refer to later on.
- Save your changes.
Make sure the images do not exceed 30 megapixels each. Large images might cause the step to fail.
Use web search, file search, and code interpreter
Give the model access to OpenAI’s built-in tools when you need up-to-date answers, need it to search files you’ve already indexed with OpenAI, or need it to run code.- Click Workflows > + Create new… > Create a new workflow and give your workflow a name. If you have a workflow ready, click … > Edit workflow.
- Click + Add step and select Integrations > OpenAI.
- Click the step and click Configure integration.
- Select Process/generate text with OpenAI Responses API in OpenAI action.
- Enter the prompt and select the AI model and the output type.
-
In the Tools field, add any of the following:
- Web Search — lets the model search the web for current information. You can set the search context size and, optionally, a country, region, or city to focus the results.
- File Search — lets the model search vector stores you’ve already created in OpenAI. Enter the vector store IDs to search, and optionally set a maximum number of results and metadata filters.
- Code Interpreter — lets the model write and run Python code, for example to analyze data or do calculations. You can set a memory limit for the container that runs the code.
- (Optional) Use the Files field to attach documents or images by URL as extra context for the model. This is separate from the File Search tool, which searches vector stores instead.
- (Optional) If needed, you can tweak the request by providing data in the Advanced AI configuration dropdown.
- Select the output text as a variable you can refer to later on.
- Save your changes.
Web search, file search, and code interpreter are only available with the Process/generate text with OpenAI Responses API action. The legacy Process/generate text with AI and Process images with AI actions don’t support these tools.

