Skip to content
Skillv1.0.0

lucidchart-core-workflow-b

Execute Lucidchart secondary workflow: Data-Linked Diagrams. Trigger: "lucidchart data-linked diagrams", "secondary lucidchart workflow".

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/lucidchart-core-workflow-b/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill lucidchart-core-workflow-b. Copyright stays with the author (MIT).

Lucidchart — Collaboration & Sharing

Overview

Invite collaborators, configure permissions, and manage real-time editing sessions on Lucidchart documents. Use this workflow when you need to share diagrams with teammates, set granular access controls, track revision history, or manage comments on shared documents. This is the secondary workflow — for diagram creation and data linking, see lucidchart-core-workflow-a.

Instructions

Step 1: Invite Collaborators with Role-Based Permissions

const invites = await client.documents.share(doc.documentId, {
  recipients: [
    { email: 'architect@example.com', role: 'editor' },
    { email: 'manager@example.com', role: 'commenter' },
    { email: 'stakeholder@example.com', role: 'viewer' },
  ],
  message: 'Please review the updated architecture diagram',
  notify: true,
});
invites.forEach(inv =>
  console.log(`Invited ${inv.email} as ${inv.role} — status: ${inv.status}`)
);

Step 2: Configure Document-Level Access Controls

const permissions = await client.documents.updatePermissions(doc.documentId, {
  link_sharing: 'organization',  // 'private' | 'organization' | 'anyone_with_link'
  allow_download: false,
  allow_copy: false,
  require_login: true,
  expiry: '2026-05-01T00:00:00Z',
});
console.log(`Sharing: ${permissions.link_sharing}, expires: ${permissions.expiry}`);
console.log(`Download: ${permissions.allow_download}, Copy: ${permissions.allow_copy}`);

Step 3: Manage Comments and Review Threads

const comments = await client.documents.comments.list(doc.documentId, {
  status: 'open',
  sort: 'created_desc',
});
comments.items.forEach(c =>
  console.log(`[${c.author}] ${c.text} (${c.replies.length} replies)`)
);

// Resolve a comment thread
await client.documents.comments.resolve(doc.documentId, comments.items[0].id, {
  resolution_note: 'Updated per feedback — moved DB to separate VPC',
});

Step 4: Track Revision History

const revisions = await client.documents.revisions.list(doc.documentId, {
  limit: 10,
  sort: 'date_desc',
});
revisions.items.forEach(r =>
  console.log(`v${r.version} by ${r.author} at ${r.timestamp} — ${r.change_summary}`)
);
await client.documents.revisions.restore(doc.documentId, revisions.items[2].id);

Error Handling

Issue Cause Fix
401 Unauthorized Invalid or expired OAuth token Re-authenticate via OAuth2 flow
403 Insufficient permissions User lacks edit/share access Request owner to grant editor role
404 Document not found Wrong documentId or document deleted Verify ID with client.documents.list()
409 Conflict Concurrent edit collision Retry — Lucidchart auto-merges most conflicts
422 Invalid email Malformed recipient email address Validate email format before sending invite

Output

A successful workflow sends collaboration invites with role-based permissions, locks down document access with organization-level controls and expiry dates, and provides a full audit trail of comments, resolutions, and revision history.

Resources

Next Steps

See lucidchart-sdk-patterns for OAuth configuration and webhook setup.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-lucidchart-co-613d6a/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-lucidchart-co-613d6a.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-lucidchart-co-613d6a",
  "kind": "skill",
  "name": "lucidchart-core-workflow-b",
  "description": "Execute Lucidchart secondary workflow: Data-Linked Diagrams. Trigger: \"lucidchart data-linked diagrams\", \"secondary lucidchart workflow\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "saas",
      "lucidchart",
      "diagramming",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Execute Lucidchart secondary workflow: Data-Linked Diagrams. Trigger: \"lucidchart data-linked diagrams\", \"secondary lucidchart workflow\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/lucidchart-core-workflow-b/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/lucidchart-core-workflow-b/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/lucidchart-core-workflow-b/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Lucidchart — Collaboration & Sharing\n\n## Overview\n\nInvite collaborators, configure permissions, and manage real-time editing sessions on\nLucidchart documents. Use this workflow when you need to share diagrams with teammates,\nset granular access controls, track revision history, or manage comments on shared\ndocuments. This is the secondary workflow — for diagram creation and data linking,\nsee `lucidchart-core-workflow-a`.\n\n## Instructions\n\n### Step 1: Invite Collaborators with Role-Based Permissions\n\n```typescript\nconst invites = await client.documents.share(doc.documentId, {\n  recipients: [\n",
  "cost": {
    "context_tokens": 829
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-lucidchart-co-613d6a/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.