Skip to content

Zoho: Get optimization suggestions for a webform

Zoho webforms.getWebformSuggestions: arguments, response, policy and SDK examples.

← Webforms operations · Get started

Operation zoho.getwebformsuggestions

Provider route: GET /crm/v8/settings/webforms/{id}/actions/suggestions. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["webforms"]["getWebformSuggestions"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.webforms.getWebformSuggestions(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.webforms.get_webform_suggestions(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentMaximum length: 18

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Get optimization suggestions for a webform — response body — webform suggestions
$ (anyOf 2)nullAlternative

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions

2 more schemas are linked from the tables above, on the schema pages.

Get optimization suggestions for a webform — response body — webform suggestions
FieldTypePresenceDescription and constraints
$objectRootRepresents a successful response for webform suggestions, containing the list of improvement suggestions.
Additional keys: not allowed
webform_suggestionsarrayRequired within parentContains the list of webform suggestion objects for improving the webform's performance.
Maximum items: 1
webform_suggestions[]ModelEach itemExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item

Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item
FieldTypePresenceDescription and constraints
$objectRootRepresents a webform suggestion object, including the suggestion type and details.
Additional keys: not allowed
suggestion_detailsModelRequired within parentExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details
typestringRequired within parentRepresents the type classification of the webform suggestion.
Maximum length: 255

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details

Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details
FieldTypePresenceDescription and constraints
$objectRootRepresents the details of a webform suggestion, including the reason and suggested variant information.
Additional keys: not allowed
reasonModelRequired within parentExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason
suggested_variant_infoModelRequired within parentExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason, Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info

Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason
FieldTypePresenceDescription and constraints
$objectRootRepresents the reason data for a webform suggestion, including the conversion rate and list of low-filled fields.
Additional keys: not allowed
conversion_ratestringRequired within parentRepresents the conversion rate of the webform, indicating the percentage of visitors who submitted the form.
Maximum length: 255
low_filled_rate_fieldsarrayRequired within parentContains the list of CRM fields with low form-fill rates, used to identify underperforming fields on the webform.
Maximum items: 2
low_filled_rate_fields[]ModelEach itemExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason low filled rate fields item

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason low filled rate fields item

Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info
FieldTypePresenceDescription and constraints
$objectRootRepresents the suggested configuration for a variant webform, including button attributes, fields, and form attributes.
Additional keys: not allowed
button_attributesarrayRequired within parentContains the list of button attribute configurations suggested for the variant webform.
Maximum items: 2
button_attributes[]ModelEach itemExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info button attributes item
fieldsarrayRequired within parentContains the list of field configurations suggested for the variant webform.
Maximum items: 2
fields[]ModelEach itemExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info fields item
form_attributesModelRequired within parentExpand Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info form attributes

Referenced models: Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info button attributes item, Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info form attributes, Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info fields item

Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details reason low filled rate fields item
FieldTypePresenceDescription and constraints
$objectRootRepresents a CRM field with a low form-fill rate, used in webform improvement suggestions.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the CRM field with a low form-fill rate.
Maximum length: 255
field_labelstringRequired within parentRepresents the display label of the CRM field with a low form-fill rate.
Maximum length: 255
idstringRequired within parentRepresents the unique identifier of the CRM field with a low form-fill rate.
Maximum length: 255
Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info button attributes item
FieldTypePresenceDescription and constraints
$objectRootRepresents the button attribute configuration retrieved for the webform, including the button name and color.
Additional keys: not allowed
colorstringRequired within parentSpecifies the color applied to the button element within the webform.
Maximum length: 255
namestringRequired within parentRepresents the internal name identifier of the button attribute within the webform.
Maximum length: 255
Get optimization suggestions for a webform — response body — webform suggestions webform suggestions item suggestion details suggested variant info form attributes
FieldTypePresenceDescription and constraints
$objectRootRepresents the visual configuration retrieved for the webform, including color, width, alignment, and font attributes.
Additional keys: not allowed
alignstringRequired within parentSpecifies the horizontal alignment of the webform content.
Maximum length: 255
colorstringRequired within parentSpecifies the background color of the webform.
Maximum length: 255
font_attributesModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item form attributes font attributes
widthJSONRequired within parent
width (anyOf 1)integerAlternativeSpecifies the width of the webform in pixels.
Format: int32
width (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Retrieve a webform by ID — response body — webforms webforms item form attributes font attributes

Retrieve a webform by ID — response body — webforms webforms item form attributes font attributes
FieldTypePresenceDescription and constraints
$objectRootRepresents the font attribute settings applied to the webform text, including font size, color, and family.
Additional keys: not allowed
colorstringRequired within parentSpecifies the font color applied to the text in the webform.
Maximum length: 255
familystringRequired within parentSpecifies the font family applied to the text in the webform.
Maximum length: 255
sizeJSONRequired within parent
size (anyOf 1)integerAlternativeSpecifies the font size applied to the text in the webform.
Format: int32
size (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

SDK function policy ID: zoho.getwebformsuggestions. Catalog operation: getWebformSuggestions. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

No-content response statuses: [204]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.