Google Gemini AI
1 - Send Gemini Prompt
Installing a custom flow step requires Admin permissions in Marketo. Apart from the Installation URL, all other aspects of a serviced may be edited after completing initial onboarding by drilling down into the service detail screen from the Service Providers grid.
In Marketo navigate to Admin → Service Providers and click Add New Service
From here, follow the bellow steps to install and configure the flow step.
Outbound Fields
The Send Gemini Prompt flow step does not use outbound fields.
Inbound Fields
The Send Gemini Prompt flow step uses set inbound fields. Below are the fields that are returned from the flow step and can be written to the person based on the mapping you set.
Name | Suggested Marketo Field | Description |
---|---|---|
Response | MktoPersonNotes | The response given from the Gemini API |
Global Configuration Fields
Global user inputs that are passed along with every call to the Send Gemini Prompt flow step service. Global attributes can be set during installation or updated from the Service Provider admin menu.
Name | API Name | Type | Description |
---|---|---|---|
Gemini AI API Key | api_token | string | Gemini AI API Key |
Flow Step Fields
These fields are set for each individual instance of the Send Gemini Prompt flow step and are sent per-lead when it is called.
Name | API Name | Type | Description |
---|---|---|---|
Prompt | prompt | text | Prompt to send to Gemini |
Model | model | string |
Context Data
Name | Description |
---|---|
Program Context | Data about the program where the flow step was triggered including name, id, type, workspace etc. |
Campaign Context | Data about the campaign where the flow step was triggered, including name, id, type, status, etc. |
Trigger Context | Context around the trigger that initiated the smart campaign where the flow step was called. No data is sent if the flow step was called in a batch campaign. |
Subscription Context | General data about the subscription including munchkinId and name |
Token Context | Program tokens from the program where the flow step was called |
Flow Step
Once the Google Gemini AI flow step is installed it becomes available in smart campaigns.
1 - Send Gemini Prompt
Trigger & Filter
Once the Google Gemini AI flow step is in use the activity can be used as a trigger or a filter inside smart lists and smart campaigns.