Amazon Pinpoint · Arazzo Workflow

Amazon Pinpoint Publish Voice Template

Version 1.0.0

Create a voice message template then promote a version to active.

1 workflow 1 source API 1 provider
View Spec View on GitHub CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalyticsArazzoWorkflows

Provider

amazon-pinpoint

Workflows

publish-voice-template
Create a voice template and mark a version active.
Creates a voice message template with the supplied script and voice, then promotes the chosen version to be the active version of the template.
2 steps inputs: body, languageCode, templateName, version, voiceId outputs: templateArn
1
createVoiceTemplate
Create a voice message template with the supplied script and voice.
2
activateVersion
Promote the chosen voice template version to the active version so it is used by default when the template is referenced.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Pinpoint Publish Voice Template
  summary: Create a voice message template then promote a version to active.
  description: >-
    Authors a voice (text-to-speech) message template — including the spoken
    script, language, and Polly voice — and then sets a chosen version of that
    template as the active version used by default. Each step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: templatesApi
  url: ../openapi/amazon-pinpoint-templates-api-openapi.yml
  type: openapi
workflows:
- workflowId: publish-voice-template
  summary: Create a voice template and mark a version active.
  description: >-
    Creates a voice message template with the supplied script and voice, then
    promotes the chosen version to be the active version of the template.
  inputs:
    type: object
    required:
    - templateName
    - body
    - voiceId
    - languageCode
    properties:
      templateName:
        type: string
        description: The name of the voice template to create and activate.
      body:
        type: string
        description: The spoken script for the voice template.
      voiceId:
        type: string
        description: The Amazon Polly voice to use when delivering the message.
      languageCode:
        type: string
        description: The language code for synthesizing the script.
      version:
        type: string
        description: The template version to make active. Defaults to latest.
        default: latest
  steps:
  - stepId: createVoiceTemplate
    description: Create a voice message template with the supplied script and voice.
    operationId: CreateVoiceTemplate
    parameters:
    - name: template-name
      in: path
      value: $inputs.templateName
    requestBody:
      contentType: application/json
      payload:
        VoiceTemplateRequest:
          Body: $inputs.body
          VoiceId: $inputs.voiceId
          LanguageCode: $inputs.languageCode
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      templateArn: $response.body#/CreateTemplateMessageBody/Arn
  - stepId: activateVersion
    description: >-
      Promote the chosen voice template version to the active version so it is
      used by default when the template is referenced.
    operationId: UpdateTemplateActiveVersion
    parameters:
    - name: template-name
      in: path
      value: $inputs.templateName
    - name: template-type
      in: path
      value: VOICE
    requestBody:
      contentType: application/json
      payload:
        TemplateActiveVersionRequest:
          Version: $inputs.version
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      message: $response.body#/MessageBody/Message
  outputs:
    templateArn: $steps.createVoiceTemplate.outputs.templateArn

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-pinpoint-publish-voice-template-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.