Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • added fireflies tools and trigger, updated docs
  • added wand config generationType timestamp and added this to all timestamp fields for various blocks
  • fixed fileupload subblock styling to match height of existing input subblock, removed extraneous space reserved for files

Type of Change

  • New feature

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the [Contributor License Agreement (CLA)](./CONTRIBUTING.md#contributor-license-agreement-cla

@vercel
Copy link

vercel bot commented Jan 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
docs Skipped Skipped Jan 7, 2026 9:29pm

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 7, 2026

Greptile Summary

This PR successfully adds a comprehensive Fireflies.ai integration with 10 tools, a webhook-based trigger, and enhanced wand AI assistance for timestamp generation across multiple blocks.

Key Changes:

  • Added complete Fireflies integration: 10 tools for transcript management, audio upload, bite creation, user management, and contact listing
  • Implemented webhook trigger for automatic workflow activation on transcription completion with HMAC signature verification
  • Added timestamp generationType to wand API to inject current UTC time context, enabling AI to understand relative dates like "yesterday" or "last week"
  • Applied timestamp wand config to 30+ existing blocks (ahrefs, datadog, posthog, calendly, etc.) for consistent date field assistance
  • Improved file upload component styling for consistency with input controls
  • Comprehensive documentation for all Fireflies operations
  • All API credentials properly configured with user-only visibility per custom instruction requirements

Technical Quality:

  • Tools follow established patterns with proper GraphQL query implementation and response transformation
  • All 10 tools registered in tool/trigger/block registries with correct IDs
  • Proper TypeScript typing throughout with comprehensive interface definitions
  • Fireflies block includes conditional field visibility and parameter transformation logic
  • Webhook trigger provides clear setup instructions with proper output definitions

Confidence Score: 5/5

  • This PR is safe to merge with no critical issues or security concerns identified.
  • All 10 Fireflies tools implement proper API key visibility configuration (user-only) complying with custom credential requirements. Tools follow established patterns with proper error handling and response transformation. Webhook trigger has appropriate HMAC signature verification setup. Timestamp wand enhancement is well-implemented with comprehensive time context injection. File upload styling improvements are non-breaking and enhance visual consistency. All 61 changed files follow codebase conventions with proper registration in global registries. No logical errors, security vulnerabilities, or missing configurations detected.
  • No files require special attention.

Important Files Changed

Filename Overview
apps/sim/blocks/blocks/fireflies.ts Comprehensive Fireflies block configuration with 10 operations, proper conditional field visibility, wand config for timestamp generation, and integrated trigger support. All operations properly map to tools with appropriate parameter transformation.
apps/sim/tools/fireflies/get_transcript.ts Well-structured GraphQL tool with proper API key visibility configuration (user-only), comprehensive response transformation, and detailed error handling. Properly implements ToolConfig interface.
apps/sim/tools/fireflies/list_transcripts.ts GraphQL query tool with correct API key visibility, proper parameter handling with optional filters, variable transformation, and clean response mapping. All 10 Fireflies tools follow the same quality pattern.
apps/sim/tools/fireflies/types.ts Comprehensive TypeScript interfaces covering all Fireflies API responses. Properly typed request/response pairs for all 10 operations with detailed optional properties and proper union type exports.
apps/sim/triggers/fireflies/transcription_complete.ts Well-configured webhook trigger with clear setup instructions, secret validation, and proper output definitions. Implements standard trigger pattern with helpful HTML-formatted instructions.
apps/sim/app/api/wand/route.ts Added proper timestamp generationType support that injects current UTC date/time context into system prompt to help AI understand relative date references like yesterday/last week. Correctly adds comprehensive time context.
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/file-upload/file-upload.tsx Improved file upload component styling: reduced button/icon sizes (h-6 w-6 to h-5 w-5, h-4 w-4 to h-3.5 w-3.5), simplified layout by removing unnecessary wrapper div, and using cn() utility for conditional margin. Changes match height of existing input subblocks and remove extraneous space.

Sequence Diagram

sequenceDiagram
    actor User
    participant UI as Fireflies Block UI
    participant Workflow as Workflow Engine
    participant Tool as Fireflies Tool
    participant API as Fireflies API
    participant Webhook as Webhook Handler

    Note over User,Webhook: Fireflies Tools Flow
    User->>UI: Select operation & enter params
    UI->>Workflow: Execute block with params
    Workflow->>Tool: Call fireflies_* tool
    Tool->>API: GraphQL/REST request<br/>(Bearer auth)
    API-->>Tool: Response data
    Tool-->>Workflow: Transformed response
    Workflow-->>UI: Display results

    Note over User,Webhook: Timestamp Wand Enhancement
    User->>UI: Click wand on date field
    UI->>UI: Show "Describe the date" prompt
    User->>UI: "last week"
    UI->>UI: Send to /api/wand with<br/>generationType='timestamp'
    UI->>UI: Add current UTC context
    UI->>UI: LLM generates "2026-01-01T00:00:00Z"
    UI-->>User: Fill date field

    Note over User,Webhook: Webhook Trigger Flow
    User->>UI: Set up trigger in workflow
    UI->>UI: Generate unique webhook URL
    User->>API: Configure webhook in<br/>Fireflies dashboard
    API->>Webhook: POST transcription event
    Webhook->>Webhook: Verify HMAC signature
    Webhook->>Workflow: Trigger workflow with<br/>meetingId, eventType, etc.
    Workflow-->>User: Execute downstream blocks
Loading

@waleedlatif1 waleedlatif1 merged commit 2bd27f9 into staging Jan 7, 2026
10 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/fireflies branch January 7, 2026 21:40
waleedlatif1 added a commit that referenced this pull request Jan 8, 2026
* feat(fireflies): added fireflies tools and trigger

* finished fireflies

* added wandConfig to all timestamp subblocks on the platform

* added current time to timestamp wand generation

* fix file upload subblock styling, tested all fireflies ops

* removed dropdown for trigger for fireflies

* updated docs

* added fireflies to formatWebhookInput

* added more wandConfigs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants