This repository contains the public documentation for Tallyfy products.
We welcome contributions to improve our documentation. Whether you've found a typo, want to clarify instructions, or add helpful examples, your contributions help make our documentation better for everyone.
Click the "Fork" button at the top right of this page to create your own copy of the documentation repository.
git clone https://github.com/YOUR-USERNAME/documentation.git
cd documentation
Replace YOUR-USERNAME
with your GitHub username.
Create a new branch for your changes:
git checkout -b improve-docs-topic-name
Use a descriptive branch name that reflects your changes.
- Edit the relevant
.mdx
files in thesrc/content/docs/
directory - Follow the existing formatting and style conventions
- Keep changes focused and specific
If you want to preview your changes:
npm install
npm run dev
git add .
git commit -m "Brief description of your changes"
git push origin improve-docs-topic-name
- Go to your fork on GitHub
- Click "Compare & pull request"
- Provide a clear title and description of your changes
- Submit the pull request
✅ We welcome:
- Typo and grammar fixes
- Clarifications to existing content
- Better examples or use cases
- Corrections to outdated information
- Improvements to formatting and readability
❌ Please avoid:
- Major structural changes without discussion
- Adding new features or product documentation (contact us first)
- Promotional content or external links
- Changes to technical architecture files
- Use clear, simple language
- Write in present tense
- Keep sentences concise
- Follow American English spelling
- Bold UI elements using
**text**
We use D2 diagrams to visualize complex workflows, API interactions, and system architectures. D2 (Declarative Diagramming) enables you to create diagrams using simple text-based syntax with better layout algorithms and more intuitive notation than traditional diagramming tools.
Important: Only use diagrams where they add clear value. Simple processes with 3 steps or fewer usually don't need diagrams.
CRITICAL: Always use D2's clear and simple syntax for proper text rendering. D2 automatically handles text spacing and layout without complex notation.
```d2
Start: User Action {
shape: oval
style.bold: true
}
Process: Process Step {
style.bold: true
}
Complete: Complete {
shape: oval
style.bold: true
}
Start -> Process
Process -> Complete
```
```d2
# Avoid overly complex nested structures
Start.nested.deeply.action -> Process # Too nested
Process -> Complete[with inline style] # Mixing concerns
```
Key Requirements:
- Use clear node names and labels
- Use
style.bold: true
for emphasis - Multi-line text works naturally with D2's automatic text wrapping
- Edge labels are simple:
connection: label
- Style consistently using D2's theming system
✅ Good candidates for diagrams:
- Multi-step processes where sequence matters
- Conditional logic with multiple branches
- System interactions between Tallyfy and external services
- User-system collaboration (e.g., SSO setup)
- Complex automation rules with multiple conditions
- API request/response flows with authentication
- Webhook event flows with retry logic
❌ Avoid diagrams for:
- Simple linear processes (3 steps or fewer)
- Single API calls without complex flow
- Basic CRUD operations
- Content better explained with text
- UI navigation (use screenshots instead)
Documentation Area | Diagram Type | Key Elements |
---|---|---|
API Documentation | sequenceDiagram |
Request/response, authentication, error handling |
Webhook Documentation | sequenceDiagram |
Event triggers, retry logic, queue processing |
Process Workflows | flowchart TD |
Decision nodes, branches, outcomes |
Automation Logic | flowchart TD |
Sequential rules, AND/OR logic, actions |
SSO/Authentication | sequenceDiagram |
User + admin actions, token flow |
System Architecture | graph TD |
Components, data flow, connections |
Start: Event Triggers {
shape: oval
style.bold: true
}
Load: Load Rules\nby Position {
style.bold: true
}
Rule1: Rule 1\nMet? {
shape: diamond
}
Op1: Next Rule\nLogic? {
shape: diamond
}
Rule2AND: Rule 2\nMet? {
shape: diamond
}
Rule2OR: Rule 2\nMet? {
shape: diamond
}
Actions: Execute\nActions {
style.bold: true
}
Skip: Skip\nActions {
style.bold: true
}
Log: Log\nExecution {
style.bold: true
}
Start -> Load
Load -> Rule1
Rule1 -> Op1: Yes
Rule1 -> Op1: No
Op1 -> Rule2AND: AND
Op1 -> Rule2OR: OR
Rule2AND -> Actions: Yes + Prev Yes
Rule2AND -> Skip: No
Rule2OR -> Actions: Yes
Rule2OR -> Skip: No + Prev No
Actions -> Log
Skip -> Log
Tallyfy: Tallyfy
Queue: Queue
External: External System
Tallyfy -> Queue: Queue webhook event
Queue -> External: POST webhook_url
Success: {
External -> Queue: Success (2xx)
Queue -> Tallyfy: Mark delivered
}
Failure: {
External -> Queue: Error/Timeout
Retry: {
label: Retry 3 times
Queue -> Queue: Wait (1min, 5min, 15min)
Queue -> External: POST webhook_url
External -> Queue: Success?
Queue -> Tallyfy: Mark delivered
}
}
Admin: Admin
Tallyfy: Tallyfy
IdP: Identity Provider
User: User
Setup Phase: {
Admin -> Tallyfy: Configure SSO
Tallyfy -> IdP: Register SP
IdP -> Tallyfy: Metadata
Tallyfy -> Admin: Ready
}
Login Phase: {
User -> Tallyfy: Access Tallyfy
Tallyfy -> IdP: Redirect to IdP
User -> IdP: Credentials
IdP -> Tallyfy: SAML assertion
Tallyfy -> User: Access granted
}
For API/Technical Docs - Use technical terms:
POST /api/v1/processes
Bearer token
HTTP 201 Created
webhook_url
- Database field names
For User-Facing Docs - Use business terms:
- "Launch a process"
- "Complete a task"
- "Assign to team"
- "Automation triggers"
- UI labels and button names
- Keep diagrams focused - One concept per diagram
- Prioritize vertical layouts - Use
flowchart TD
overflowchart LR
for mobile readability - Use markdown string syntax - ALWAYS use
"`text`"
for node labels - No inline styling needed - Global CSS handles all colors and styling automatically
- DO NOT use
style
directives - DO NOT use
classDef
for colors - DO NOT specify
fill
,stroke
, orcolor
attributes - The global configuration in
/support-docs
handles everything
- DO NOT use
- Mobile-friendly design:
- Maximum 3-4 words per line in nodes
- Natural line breaks occur in markdown strings
- Test at 320px, 768px, and 1024px viewport widths
- Keep node labels under 20 characters
- Ensure proper text spacing:
- Markdown strings automatically handle spacing
- No more concatenated text issues
- Multi-line text works naturally
- Add context - Include descriptive text before/after diagrams
- Match audience - API terms for developers, business terms for users
- Show error paths - Include failure scenarios and retry logic
- Test in both themes - Verify readability in light AND dark modes
- Break complex diagrams - Split 50+ node diagrams into smaller focused ones
For comprehensive D2 documentation, see the D2 Official Docs or test your diagrams in the D2 Playground.
Once you submit a pull request:
- Our team will review your changes
- We may suggest modifications or ask questions
- Once approved, we'll merge your contribution
- Your changes will be live on our documentation site
If you're unsure about a contribution or need help, please open an issue to discuss your proposed changes before creating a pull request.
Documentation requires regular updates to maintain accuracy, especially for articles referencing external vendors, third-party services, or evolving technologies. This section identifies patterns that indicate content may need updates.
These services evolve rapidly with new models, API changes, and feature updates:
- OpenAI/ChatGPT integrations
- Claude/Anthropic integrations
- Computer AI agents (Manus, Twin, Skyvern)
- Location:
/src/content/docs/pro/integrations/computer-ai-agents/
,/src/content/docs/pro/integrations/mcp-server/
Security protocols and SSO configurations change regularly:
- Okta, OneLogin, Auth0 integrations
- Azure AD, Google Workspace SSO
- OAuth/SAML protocol updates
- Location:
/src/content/docs/pro/integrations/authentication/
Connection methods and APIs frequently update:
- Tableau, Power BI, Sigma Computing
- Google Analytics (especially GA4 migrations)
- Location:
/src/content/docs/pro/integrations/analytics/
Platform updates affect integrations:
- AWS services (S3, Lambda, Athena, Redshift)
- Azure services (Cognitive AI, Translation)
- Google Cloud services
- Location:
/src/content/docs/pro/integrations/azure-translation/
API changes and new features require updates:
- Zapier, Make.com, n8n
- Microsoft Power Automate
- Location:
/src/content/docs/pro/integrations/middleware/
Articles requiring review based on age and content type:
- 30 days: AI services, version-specific references, pricing
- 60 days: Analytics platforms, communication tools
- 90 days: Authentication providers, business systems
- 180 days: General documentation without vendor references
Review and update documentation when:
- Vendor announces major updates - New API versions, deprecated features
- Security advisories - Authentication protocol changes, vulnerability patches
- Pricing changes - Subscription tiers, feature availability
- UI/UX changes - Screenshots, navigation instructions
- Deprecation notices - Sunset features, migration requirements
- Changelog entries - New Tallyfy features affecting integrations
Based on analysis, these files have the highest update frequency needs:
Critical (Monthly):
/pro/integrations/computer-ai-agents/vendors/*.mdx
/pro/integrations/mcp-server/**/*.mdx
/pro/changelog/**/*.mdx
Important (Quarterly):
/pro/integrations/authentication/*.mdx
/pro/integrations/analytics/*.mdx
/pro/integrations/middleware/*.mdx
/pro/pricing/*.mdx
Standard (Semi-Annual):
/pro/integrations/webhooks/*.mdx
/pro/integrations/open-api/*.mdx
/pro/compliance/*.mdx
- Automated Scanning: Use scripts to identify articles with vendor references
- Age Tracking: Monitor days since last modification
- Vendor Watching: Subscribe to vendor changelogs and announcement channels
- User Feedback: Track support tickets mentioning outdated documentation
- Regular Audits: Quarterly reviews of high-priority categories
This documentation repository supports AI-driven automation for large-scale documentation tasks. We use Claude Code to break down complex documentation projects into manageable, automated workflows. This approach helps maintain consistency and quality across our extensive documentation while reducing manual effort.
For systematic updates of time-sensitive content, we use queue-based processing:
- Identify eligible articles using vendor patterns and age thresholds
- Create update prompts for each article requiring refresh
- Process updates using Claude's non-interactive mode
- Validate changes before deployment
See /temporary/doc-updater/
for automation scripts and queue management tools.
This documentation uses D2 (Declarative Diagramming) to create visual representations of workflows, integrations, and system architectures. These diagrams are generated at build time and served as external SVG files from our CDN.
Total Diagrams: 63 diagrams across 49 documentation pages
D2 diagrams are available as standalone SVG assets at:
- Base URL:
https://tallyfy.com/products/d2-diagrams/docs/
- Pattern:
https://tallyfy.com/products/d2-diagrams/docs/[path]/[filename]-[index].svg
- Important: Note the
/docs/
prefix after/d2-diagrams/
in the URL pattern
These diagrams are:
- Generated at build time on Cloudflare Pages
- Served as external SVG files from our CDN
- Available for embedding in any content (documentation, marketing, presentations)
- Accessible via direct URLs for reuse across platforms
Integration patterns, middleware connections, and API interactions
Documentation Pages Containing These Diagrams:
- Zapier automation workflows
- Power Automate integration guides
- n8n connection documentation
- Make.com automation guides
AI agent integrations and computer use patterns
Documentation Pages Containing These Diagrams:
- Claude computer use documentation (3 diagrams)
- OpenAI ChatGPT agent guides (3 diagrams)
- Skyvern AI integration (3 diagrams)
- Local computer use agents (3 diagrams)
SAML SSO configurations and authentication flows
Documentation Pages Containing These Diagrams:
- Azure AD SSO integration guide
- Okta SSO setup documentation
- OneLogin SAML configuration
- Auth0 authentication setup
Business process representations and approval flows
Documentation Pages Containing These Diagrams:
- Multi-level approval patterns (3 diagrams)
- RPA vs Computer agents comparison
- Process launching options
Webhook-based integration patterns and event flows
Documentation Pages Containing These Diagrams:
- Webhook trigger documentation
- Azure runbook integration
- Basic webhook usage guide
- External webhook templates
High-level system design and data flows
Documentation Pages Containing These Diagrams:
- Distributed tracing implementation
- WebSocket connection guides
- Integrations: 51 diagrams embedded in integration guides
- Launching: 2 diagrams in process launching documentation
- Documenting: 3 diagrams in template documentation
- Tutorials: 3 diagrams in tutorial pages
- Best Practices: 3 diagrams in best practices guides
- Collector/WebSocket: 1 diagram in WebSocket documentation
You can access these diagrams in multiple ways:
- Direct URL: Use the production URLs like
https://tallyfy.com/products/d2-diagrams/docs/pro/integrations/middleware/zapier-integration-0.svg
- Within Documentation: View them embedded in documentation pages at https://tallyfy.com/products/
- For External Use: Copy the SVG URLs to embed in presentations, marketing materials, or other content
Example URLs:
- Zapier Integration:
https://tallyfy.com/products/d2-diagrams/docs/pro/integrations/middleware/zapier/how-to-automate-tasks-in-tallyfy-using-zaps-0.svg
- OAuth Flow:
https://tallyfy.com/products/d2-diagrams/docs/pro/integrations/open-api/oauth-authorization-flow-0.svg
- Multi-level Approvals:
https://tallyfy.com/products/d2-diagrams/docs/pro/documenting/templates/automations/examples/multi-level-approval-loops-0.svg
For developers working with D2 diagrams:
- Source files: Located in MDX files throughout
/src/content/docs/
- Build process: Diagrams are rendered during the Cloudflare Pages build
- Local development: Run
npm run dev
to see diagrams rendered locally - Syntax reference: See the D2 documentation section above for proper syntax
AI assistants working with this repository should understand that:
- D2 diagrams are defined inline within MDX documentation files
- Diagrams are rendered at build time and served as external SVG files
- Production URLs follow the pattern:
https://tallyfy.com/products/d2-diagrams/docs/[path]/[filename]-[index].svg
- To update diagrams, edit the D2 code blocks within the MDX files
- Follow the D2 syntax guidelines in this README for consistency
- Test diagram changes locally before committing
- Use the production URLs when referencing diagrams in other content
By contributing to this repository, you agree that your contributions will be owned by Tallyfy.
Thank you for helping improve Tallyfy documentation! 🙏