Amazon Pinpoint · Arazzo Workflow

Amazon Pinpoint Publish and Activate Template

Version 1.0.0

Create an SMS template then promote a chosen version to the active version.

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

Provider

amazon-pinpoint

Workflows

publish-and-activate-template
Create an SMS template and mark a version active.
Creates an SMS message template, then promotes the supplied version (or latest) to be the active version of the template.
2 steps inputs: body, templateName, version outputs: templateArn
1
createSmsTemplate
CreateSmsTemplate
Create an SMS message template with the supplied body content.
2
activateVersion
UpdateTemplateActiveVersion
Promote the chosen 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 and Activate Template
  summary: Create an SMS template then promote a chosen version to the active version.
  description: >-
    Authors an SMS message template and then sets a specific version of that
    template as the active version, which is the version Pinpoint uses by default
    when a message or campaign references the template without pinning a version.
    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: pinpointApi
  url: ../openapi/amazon-pinpoint-openapi-original.yaml
  type: openapi
workflows:
- workflowId: publish-and-activate-template
  summary: Create an SMS template and mark a version active.
  description: >-
    Creates an SMS message template, then promotes the supplied version (or
    latest) to be the active version of the template.
  inputs:
    type: object
    required:
    - templateName
    - body
    properties:
      templateName:
        type: string
        description: The name of the SMS template to create and activate.
      body:
        type: string
        description: The message body for the SMS template.
      version:
        type: string
        description: >-
          The template version to make active. Defaults to latest when omitted.
        default: latest
  steps:
  - stepId: createSmsTemplate
    description: Create an SMS message template with the supplied body content.
    operationId: CreateSmsTemplate
    parameters:
    - name: template-name
      in: path
      value: $inputs.templateName
    requestBody:
      contentType: application/json
      payload:
        SMSTemplateRequest:
          Body: $inputs.body
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      templateArn: $response.body#/CreateTemplateMessageBody/Arn
  - stepId: activateVersion
    description: >-
      Promote the chosen 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: SMS
    requestBody:
      contentType: application/json
      payload:
        TemplateActiveVersionRequest:
          Version: $inputs.version
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      message: $response.body#/MessageBody/Message
  outputs:
    templateArn: $steps.createSmsTemplate.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-and-activate-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 email required.

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