/
Generate Adoption Profile Flow

Generate Adoption Profile Flow

Generate Adoption Profile Flow

A Salesforce Flow is configured with the necessary information and uses the AnimalOS Generate Content apex class to send the request to OpenAI, this flow is triggered when a user clicks the Generate Adoption Profile action on an Animal record.

  • Output Field defines where the response from ChatGPT will be captured.

  • Record ID provides the context of the Animal record where the request is sent.

  • Request provides the text that is sent in the request.

  • Source Fields defines the field values that are sent with the request to describe the Animal.

image-20241030-004052.png
Salesforce Flow utilised to send a request to OpenAI.

Additional flows can be configured to support similar data flows where you would like to send a request to ChatGPT and receive a response in a targeted field.