Connect Gemini to create text
Use our no-code step to summarize files or create text.
Before you begin
- In your Next Matter portal, go to Automations library, click Connect in the Gemini app tile, and enter the Google Gemini API key to connect. You can create the key in your Google AI Studio.
Use the integration
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 > Gemini.
- Click the step and click Configure integration.
- Select Generate text using Gemini AI in Gemini operations.
- Enter the prompt in which you write what you want the AI to do. For example: Summarize the following customer feedback.
- Select the AI model:
- Gemini 1.5 Flash: Faster, good for simple tasks
- Gemini 1.5 Pro: More powerful, better for complex analysis
- Select the output type (select Text for simple responses and Specific JSON schema for structured data).
If you select Specific JSON schema, specify the schema in the Output structure field. For example, you can enter {"summary":"string"}
.
- Add data reference or a link to text files (in TXT, CSV, PDF, or DOCX format) that the AI should analyze as part of the prompt.
- Add the variables you need to reuse later.
By default, we add the message history as a variable in case you want to use it in another no-code step. The message history contains the response to the prompt, and if context files have been linked - the file names and any metadata they contain. - Save your changes.
Use case - Automated customer support
This example shows how to process customer complaints automatically:
Workflow overview
- Customer submits complaint using Next Matter public form.
- AI summarizes the complaint.
- The stored complaint details are parsed and turned into reusable text.
- AI extracts further data and prepares a personalized response.