Skip to main content

guidedSellingFlowVersionCreate

BETA: guided selling can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.

Add a draft version to a flow. Versions are immutable: a change to the instruction, catalogue or settings is a new version. Several drafts can exist at once; the new one gets the highest number plus one. configuration.EDITOR and OWNER play a draft by pinning input.version on a step.

Possible errors:

  • GUIDED_SELLING_FLOW_NOT_FOUND_ERROR: no flow with this id in the calling tenant
  • BAD_REQUEST: a field breaks its rule; extensions.originalError.message names each
  • GUIDED_SELLING_CONTENT_INVALID_ERROR: the content failed validation; extensions.problems lists what

AUTH: Role=[configuration.OWNER,configuration.EDITOR]

guidedSellingFlowVersionCreate(
flowId: ID!
input: GuidedSellingFlowVersionCreateInput!
): GuidedSellingFlowVersion!

Arguments​

guidedSellingFlowVersionCreate.flowId ● ID! non-null scalar​

Unique identifier of the guided selling flow (UUID v7).

guidedSellingFlowVersionCreate.input ● GuidedSellingFlowVersionCreateInput! non-null input​

Type​

GuidedSellingFlowVersion object​

BETA: guided selling can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.

One immutable version of a flow's content. Select content to read what it holds; listings stay light when it is left out.