Skip to content

Commit 932f8fd

Browse files
authored
feat(mcp): updated mcp subblocks for mcp tools to match subblocks (#2882)
* feat(mcp): updated mcp subblocks for mcp tools to match subblocks * updated trigger descriptions
1 parent b4c2294 commit 932f8fd

File tree

8 files changed

+81
-314
lines changed

8 files changed

+81
-314
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/mcp-dynamic-args/mcp-dynamic-args.tsx

Lines changed: 74 additions & 307 deletions
Large diffs are not rendered by default.

apps/sim/triggers/calendly/invitee_canceled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const calendlyInviteeCanceledTrigger: TriggerConfig = {
5959
'<strong>Note:</strong> This trigger requires a paid Calendly subscription (Professional, Teams, or Enterprise plan).',
6060
'Get your Personal Access Token from <strong>Settings > Integrations > API & Webhooks</strong> in your Calendly account.',
6161
'Use the "Get Current User" operation in a Calendly block to retrieve your Organization URI.',
62-
'The webhook will be automatically created in Calendly when you save this trigger.',
62+
'The webhook will be automatically created in Calendly when you deploy the workflow.',
6363
'This webhook triggers when an invitee cancels an event. The payload includes cancellation details and reason.',
6464
]
6565
.map(

apps/sim/triggers/calendly/invitee_created.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const calendlyInviteeCreatedTrigger: TriggerConfig = {
6868
'<strong>Note:</strong> This trigger requires a paid Calendly subscription (Professional, Teams, or Enterprise plan).',
6969
'Get your Personal Access Token from <strong>Settings > Integrations > API & Webhooks</strong> in your Calendly account.',
7070
'Use the "Get Current User" operation in a Calendly block to retrieve your Organization URI.',
71-
'The webhook will be automatically created in Calendly when you save this trigger.',
71+
'The webhook will be automatically created in Calendly when you deploy the workflow.',
7272
'This webhook triggers when an invitee schedules a new event. Rescheduling triggers both cancellation and creation events.',
7373
]
7474
.map(

apps/sim/triggers/calendly/routing_form_submitted.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const calendlyRoutingFormSubmittedTrigger: TriggerConfig = {
5959
'<strong>Note:</strong> This trigger requires a paid Calendly subscription (Professional, Teams, or Enterprise plan).',
6060
'Get your Personal Access Token from <strong>Settings > Integrations > API & Webhooks</strong> in your Calendly account.',
6161
'Use the "Get Current User" operation in a Calendly block to retrieve your Organization URI.',
62-
'The webhook will be automatically created in Calendly when you save this trigger.',
62+
'The webhook will be automatically created in Calendly when you deploy the workflow.',
6363
'This webhook triggers when someone submits a routing form, regardless of whether they book an event.',
6464
]
6565
.map(

apps/sim/triggers/calendly/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const calendlyWebhookTrigger: TriggerConfig = {
5858
'<strong>Note:</strong> This trigger requires a paid Calendly subscription (Professional, Teams, or Enterprise plan).',
5959
'Get your Personal Access Token from <strong>Settings > Integrations > API & Webhooks</strong> in your Calendly account.',
6060
'Use the "Get Current User" operation in a Calendly block to retrieve your Organization URI.',
61-
'The webhook will be automatically created in Calendly when you save this trigger.',
61+
'The webhook will be automatically created in Calendly when you deploy the workflow.',
6262
'This webhook subscribes to all Calendly events (invitee created, invitee canceled, and routing form submitted). Use the <code>event</code> field in the payload to determine the event type.',
6363
]
6464
.map(

apps/sim/triggers/stripe/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export const stripeWebhookTrigger: TriggerConfig = {
186186
'Click "Create Destination" to save',
187187
'After creating the endpoint, click "Reveal" next to "Signing secret" and copy it',
188188
'Paste the signing secret into the <strong>Webhook Signing Secret</strong> field above',
189-
'Click "Save" to activate your webhook trigger',
189+
'Deploy your workflow to activate the webhook trigger',
190190
]
191191
.map(
192192
(instruction, index) =>

apps/sim/triggers/telegram/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const telegramWebhookTrigger: TriggerConfig = {
4646
defaultValue: [
4747
'Message "/newbot" to <a href="https://t.me/BotFather" target="_blank" rel="noopener noreferrer" class="text-muted-foreground underline transition-colors hover:text-muted-foreground/80">@BotFather</a> in Telegram to create a bot and copy its token.',
4848
'Enter your Bot Token above.',
49-
'Save settings and any message sent to your bot will trigger the workflow.',
49+
'Any message sent to your bot will trigger the workflow once deployed.',
5050
]
5151
.map(
5252
(instruction, index) =>

apps/sim/triggers/typeform/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const typeformWebhookTrigger: TriggerConfig = {
7979
'Find your Form ID in the URL when editing your form (e.g., <code>https://admin.typeform.com/form/ABC123/create</code> → Form ID is <code>ABC123</code>)',
8080
'Fill in the form above with your Form ID and Personal Access Token',
8181
'Optionally add a Webhook Secret for enhanced security - Sim will verify all incoming webhooks match this secret',
82-
'Click "Save" above - Sim will automatically register the webhook with Typeform',
82+
'Sim will automatically register the webhook with Typeform when you deploy the workflow',
8383
'<strong>Note:</strong> Requires a Typeform PRO or PRO+ account to use webhooks',
8484
]
8585
.map(

0 commit comments

Comments
 (0)