Google Gemini Integration

Introduction

The Google Gemini integration allows you to connect Arigato Automation with Google’s Gemini AI models. This enables you to generate AI-powered responses within your workflows, such as automated product descriptions, categorization, data cleanup, or any generative tasks powered by Google AI.

Configuring the Integration

To set up the Google Gemini integration in Arigato, follow these steps:

  1. Navigate to the Integrations Page
    • In the Arigato Automation app, go to Integrations > Google Gemini.
  2. Enter Your API Key
    • Input your Google Gemini API Key into the provided field.
    • This key is required to authenticate and use Gemini’s AI services.
  3. Set Default Max Output Tokens
    • This controls the maximum length of the AI response. The default is 4096.
    • Lowering this value can help manage cost and performance.
  4. Set Thinking Budget (Optional)
    • This setting controls how many "thinking" tokens Gemini should use before answering.
    • A value of 0 disables this feature. You can increase it if you want deeper reasoning from the model.
  5. Enable as Default AI Integration (Optional)
    • Check the box to use Google Gemini as the default AI provider for the ai Twig filter.
    • This option appears only if two or more AI integrations are enabled.
  6. Select the Default Model
    • Choose which Gemini model to use by default (e.g., Gemini 2.5 Flash).
  7. Save Your Settings
    • Click Save to apply your configuration.

Testing the Integration

After configuration, you can test Gemini directly in Arigato:

  1. Scroll to the Test the Integration section.
  2. Enter a sample prompt, such as “Tell me a random inspirational quote.”
  3. Click Send Test Prompt to view a response from Gemini.

Google Gemini Credit Costs

  • Google Gemini usage is billed based on your Google API plan and the number of tokens generated.
  • Make sure your API key is active and your billing is set up correctly with Google Cloud.

Arigato Credit Costs

  • Google Gemini actions cost 1 Action Credit on Lite plans.
  • They are unlimited on Unlimited plans.

Limitations

  • Google Gemini usage may be subject to quotas or rate limits based on your Google Cloud account.
  • Incorrect or expired API keys will cause the integration to fail.
  • Not all Gemini models may be accessible depending on your Google account tier.
  • The Thinking Budget is an advanced feature that may not apply to all Gemini models.

Troubleshooting

API Key Not Working

  • Ensure your API key is correctly entered and has permission to access the Gemini API.
  • Check that your Google Cloud account is active and has no billing issues.

AI Response is Empty or Incomplete

  • Reduce the complexity of your prompt or increase the Default Max Output Tokens.
  • Ensure your API plan has enough quota and supports the selected model.

Unexpected Results or Errors

  • Try enabling Return JSON to inspect the raw output and debug issues more easily.
  • Use the Include Context checkbox carefully—contextual product data may impact responses if improperly formatted.

For further assistance, refer to Google Gemini documentation or contact Arigato support.