Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • add input form to schedule

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)

@vercel
Copy link

vercel bot commented Dec 16, 2025

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

1 Skipped Deployment
Project Deployment Review Updated (UTC)
docs Skipped Skipped Dec 16, 2025 7:10pm

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 16, 2025

Greptile Overview

Greptile Summary

Added inputFormat field to the Schedule block, bringing it to feature parity with other trigger blocks (API, Webhook, Input Trigger). This enables users to define input parameters with default values that become available when a schedule triggers workflow execution.

  • The new field follows the established pattern used in other trigger blocks
  • Positioned correctly in the configuration order (after timezone, before scheduleSave)
  • Uses appropriate mode: 'trigger' setting consistent with other schedule configuration fields

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The change is a straightforward additive feature that follows established patterns in the codebase. The new field uses the same configuration structure as other trigger blocks, maintaining consistency. No breaking changes or logic modifications to existing functionality.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
apps/sim/blocks/blocks/schedule.ts 5/5 Added input format field to schedule block trigger, enabling parameter definition for scheduled executions

Sequence Diagram

sequenceDiagram
    participant User
    participant ScheduleBlock as Schedule Block Config
    participant InputFormat as Input Format Component
    participant Workflow as Workflow Engine
    
    User->>ScheduleBlock: Configure schedule trigger
    ScheduleBlock->>User: Display schedule options (frequency, timezone, etc.)
    User->>InputFormat: Define input parameters
    Note over InputFormat: New feature: Set parameter names,<br/>types, and default values
    InputFormat->>ScheduleBlock: Store inputFormat configuration
    ScheduleBlock->>Workflow: Save schedule with input schema
    
    Note over Workflow: When schedule triggers...
    Workflow->>Workflow: Load default values from inputFormat
    Workflow->>Workflow: Execute workflow with parameters
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit 29befbc into staging Dec 16, 2025
10 checks passed
@waleedlatif1 waleedlatif1 deleted the sim-511 branch December 16, 2025 19:24
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