Whimsical icon

Whimsical

Create mind maps, flowcharts, and sequence diagrams using Whimsical endpoints

Actions3

Sequence Diagram → Create Sequence Diagram

AI-generated

Summary

Create a sequence diagram in Whimsical by specifying its title and defining interactions between actors using a textual diagram format.

Inputs

  • Title (required) — The title of the sequence diagram to be created.
  • Diagram (required) — The sequence diagram definition string specifying actors and their interactions in the format 'Actor1->Actor2: Message description'. Use newlines to separate each interaction.

Output shape

a single JSON object representing the created sequence diagram response from Whimsical's API

The output contains the parsed JSON response from Whimsical's sequence diagram creation API. If the response cannot be parsed as JSON, an error object with details is returned. No pagination is involved.

Examples

Example 1: Creating a sequence diagram titled 'User Login' with interactions between User, System, and Database

Set Title to 'User Login' and Diagram to 'User->System: Login Request\nSystem->Database: Validate\nDatabase->System: Result'

Discussion