Integrate OpenAI with other applications using Zoho Flow

OpenAI

What is OpenAI?  

OpenAI is an artificial intelligence research organization tool that provides a variety of AI-related projects and technologies, such as natural language processing, computer vision, and reinforcement learning.

How to connect your OpenAI account to Zoho Flow

  1. In the Builder, navigate to the Apps tab, drag and drop the required OpenAI action(OpenAI currently doesn't support any triggers).
  2. If there are no other OpenAI connections in your account, click Connect.



    Alternatively, you can create a new connection by navigating to
    Settings, then clicking Connections. Click Create connection and choose OpenAI.
  3. Enter a connection name and click Authorize.
  4. Enter the credentials of your OpenAI account in the pop-up and click Next.

API documentation

If you experience any OpenAI-related errors in your flows or if you wish to learn more about the OpenAI API, you can check out the API documentation.


Actions available in Zoho Flow

Assess urgency level: Use this action to analyse the urgency of a support ticket, assign a priority (High, Medium, or Low), and define a deadline based on it.

Check moderation: Use this action to check and filter replies, reviews, and tickets, and return a score between 0 and 10.

Convert list to delimited string: Use this action if you want to convert a list of values into a single string using a specified delimiter for easier display, storage, or processing.

Convert text to title case: Use this action to convert the given text to title case for use in posts, product subjects, and more.

Convert words to digits: Use this action to convert number words into digits. For example, thousand becomes 1000, which is useful for documents, cheques, and avoiding misunderstandings.

Create chat completion: Use this action to create a model-generated response for a given chat conversation using models such as GPT-3.5 Turbo, GPT-4, and others.

Create completion: Use this action to generate an OpenAI completion for the provided prompt and parameters.

Create hashtags for social post: Use this action to generate relevant, trending, or industry-specific hashtags for social media posts such as on Twitter.

Create product description: Use this action to generate a product description for platforms like Shopify.

Extract JSON from text: Use this action to extract JSON from readable text or tables.

Extract URL: Use this action to extract a URL from the given data. For example, you can retrieve a company website from an email to map it to CRM.

Extract first and last name: Use this action to extract the first and last names from a full name—useful for apps like Zoho CRM, which provide separate fields for first and last names. 

Format address: Use this action to convert raw address text or JSON objects into a clean, standardised address string.

Generate an email body: Use this action to draft the body of an email, such as one sent to customers after a purchase.

Generate email reply: Use this action to generate a reply to an email received or a ticket submitted.

Generate essay: Use this action to generate an essay based on the provided inputs or content.

Generate headline: Use this action to generate a headline for a post or document based on the given content.

Generate story: Use this action to create a story for a forum post using the provided content.

Generate subject line:   Use this action to create a concise, engaging email subject line based on text from an email, task, or similar source.

Generate title: Use this action to generate a title based on the given text.

Generate tweet: Use this action to generate a tweet based on a topic or based on content from an email and more.

Html to text: Use this action to remove HTML tags and elements from content and return clean text.

Identify language of text: Use this action to identify the ISO language code (e.g., en, es, fr) for the primary language in a message.

Label email: Use this action to generate a label to the specified email.

Mask sensitive data: Use this action to hide or mask sensitive information—such as email addresses or phone numbers—before sharing it with others.

Parse human date: Use this action to convert natural language descriptions of dates into actual dates. For example: next Friday, two weeks before the end date, and more.

Punctuate text: Use this action to correct the punctuation of the given text before sending it out.

Rephrase text: Use this action to rewrite or rephrase the given text.

Reply to review: Use this action to generate a reply to a review or customer feedback, such as after a product purchase.

Rewrite for readability score: Use this action to rewrite text to improve its readability score.

Slugify text: Use this action to generate a URL-friendly slug from text.

Summarise text: Use this action to summarise a support ticket or any long content before taking action on it.

Verify compliance with usage policies: Use this action to check whether the provided content complies with OpenAI’s usage policies.

Verify data accuracy: Use this action to compare text against a simple knowledge base and flag any inaccuracies before publishing it.

Frequently asked questions

  1. Can I extract the middle name from a full name?
    We don't currently support an action to extract the middle name. Alternatively, you can use Create chat completion action to generate a model-based response for this.

  2. Why are date and time-based actions(like Parse human date) not always accurate?
    Date and time-based actions may not always produce accurate results due to the complexity of interpreting various formats and contexts. For more reliable handling of such cases, it's recommended to use advanced models like GPT-5 or above, which can better understand and process date/time inputs.

  3. Why am I seeing the You exceeded your current quota error, and how do I resolve it?
    This error occurs when an API request exceeds the available usage quota or when the account has insufficient credits. To resolve it, check your usage limits and available credits in the OpenAI dashboard, ensure billing details are active, and upgrade your plan or increase the quota if needed.

    For more details, see the OpenAI API error codes documentation:
    https://platform.openai.com/docs/guides/error-codes/api-errors

  4. Can I use my own trained AI GPT/ model in Zoho Flow for chat completion instead of the default models?
    No. Currently, OpenAI doesn't provide an API to access or list user-created custom GPTs. Custom GPTs are a UI-only feature and are different from API-based models. User-generated custom GPTs are not exposed as API endpoints, so they can't be integrated into Zoho Flow or other automation tools for chat completion. Only the models officially available through the OpenAI API can be used.


Alert
OpenAI actions have a maximum execution time limit. If the request takes more than 45 seconds, the action will time out on the first attempt. After the first failure, the system will retry, and the action can run for up to 90 seconds in total. Note that these timeouts do not occur during test execution, so test results may differ from live executions. To avoid timeouts in live flows, reduce the max tokens, lower the reasoning effort, or simplify the prompt.