Use cases
In each of these examples,
Some data transformation might be necessary to format inputs for the OpenAI operations and to process the outputs for use in subsequent steps. The JSON Transformer or Text Helper connectors could be useful for these transformations.
Also, when dealing with potentially sensitive information, it's important to use Tray's Merlin Guardian connector to mask sensitive data before sending it to external AI services. For instance, in the customer support routing example, you might use the Merlin Guardian's
mask data
operation before sending ticket content to OpenAI for analysis.
Automated Content Moderation Copy
Objective: Automatically moderate user-generated content before publishing.
Steps:
Trigger: Use a Webhook Trigger to receive new content submissions.
Content Moderation: Use the OpenAI connector's
create_moderation
operation to check the content.Decision Making: Use a Boolean Condition to route content based on moderation results.
Action: Either publish the content or flag for manual review.
This example leverages AI for content moderation, enhancing efficiency and consistency in content management.
Intelligent Customer Support Routing Copy
Objective: Analyze incoming support tickets and route them to the appropriate department.
Steps:
Trigger: Use an Email Trigger or a service-specific trigger (e.g., Zendesk) to capture new support tickets.
Text Analysis: Use the OpenAI connector's
create_chat_completion
operation to analyze the ticket content.Data Transformation: Use a JSON Transformer to extract the department suggestion from the AI response.
Routing: Use a Branch connector to route the ticket based on the AI's suggestion.
Ticket Assignment: Use the appropriate service connector (e.g., Zendesk, Jira) to assign the ticket to the correct department.
This example uses AI to intelligently categorize and route support tickets, improving response times and accuracy.
Multilingual Product Catalog Management Copy
Objective: Automatically translate product descriptions into multiple languages.
Steps:
Trigger: Use a Scheduled Trigger to periodically check for new or updated product descriptions.
Fetch Data: Use a database or e-commerce platform connector to retrieve new/updated product descriptions.
Translation: Use the OpenAI connector's
create_chat_completion
operation to translate descriptions into target languages.Data Transformation: Use a JSON Transformer to format the translated descriptions.
Update Catalog: Use the appropriate e-commerce platform connector to update the product catalog with translated descriptions.
This example leverages AI for efficient, scalable multilingual content management.
Voice-Enabled Reporting System Copy
Objective: Generate audio reports from text-based data for accessibility.
Steps:
Trigger: Use a Scheduled Trigger or Manual Trigger to initiate report generation.
Data Retrieval: Use appropriate service connectors to fetch report data (e.g., Salesforce, Google Analytics).
Report Generation: Use a Text Helper to compile the report text.
Text-to-Speech: Use the OpenAI connector's
create_speech
operation to convert the report text to audio.Storage: Use a file storage connector (e.g., Dropbox, Google Drive) to save the audio file.
Notification: Use a messaging connector (e.g., Slack, Email) to notify users of the new audio report.
This example combines data analysis with AI-powered text-to-speech to create accessible audio reports.
Semantic Search Enhancement Copy
Objective: Improve search functionality in a knowledge base or document repository.
Steps:
Trigger: Use a Webhook Trigger to capture new search queries.
Generate Embeddings: Use the OpenAI connector's
create_embeddings
operation to create vector representations of the search query.Database Query: Use a database connector to find documents with similar embeddings.
Result Ranking: Use a List Helper to sort results based on embedding similarity.
Response: Return the ranked search results to the user.
This example uses AI-generated embeddings to enable more accurate and context-aware search functionality.