Use our no-code step to summarize files or create text.
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 Cloud Console.
How to create the API key
Log in to Google Cloud Console.
Click your project or create a new project (type Create project in the search bar and follow the instructions).
Type Generative language in the search bar and click Gemini API.
Click Enable to enable Gemini for your project.
In the left-hand navigation, click Credentials.
Click + Create credentials and select API key.
Click Show API key and copy the key.
If you select Specific JSON schema, specify the schema in the Output structure field. For example, you can enter {"summary":"string"}
.
This example shows how to process customer complaints automatically:
Workflow details
Add a Gemini no-code integration step
Add Prompt: “Analyze this customer complaint and provide a brief summary”
Link context files: Select the data reference to the complaint document
Output: Summary and message_history
variable
Add a custom integration step to call Next Matter API
Purpose and output: Converts the stored variable into a reusable text format
Add another Gemini no-code integration step
Add Prompt: “Extract the customer name, complaint type, and urgency level from this text. Draft a response to the customer using the extracted data.”
Select Text as the Output format
Add the Output structure :
Add Message history: Reference the parsed message from step 3. Select the plain format.
Output: Draft response ready for agent review