Skip to content

Commit da54251

Browse files
Adam GoughAdam Gough
authored andcommitted
changed payloads
1 parent 1e06724 commit da54251

3 files changed

Lines changed: 8 additions & 46 deletions

File tree

apps/sim/triggers/airtable/webhook.ts

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -38,38 +38,10 @@ export const airtableWebhookTrigger: TriggerConfig = {
3838
},
3939

4040
outputs: {
41-
event_type: {
42-
type: 'string',
43-
description: 'Type of Airtable event (e.g., record.created, record.updated, record.deleted)',
44-
},
45-
base_id: {
46-
type: 'string',
47-
description: 'Airtable base identifier',
48-
},
49-
table_id: {
50-
type: 'string',
51-
description: 'Airtable table identifier',
52-
},
53-
record_id: {
54-
type: 'string',
55-
description: 'Record identifier that was modified',
56-
},
57-
record_data: {
58-
type: 'string',
59-
description: 'Complete record data (when Include Full Record Data is enabled)',
60-
},
61-
changed_fields: {
62-
type: 'string',
63-
description: 'Fields that were changed in the record',
64-
},
65-
webhook_id: {
66-
type: 'string',
67-
description: 'Unique webhook identifier',
68-
},
69-
timestamp: {
70-
type: 'string',
71-
description: 'Event timestamp',
72-
},
41+
airtableChanges: {
42+
type: 'array',
43+
description: 'Changes made to the Airtable table',
44+
}
7345
},
7446

7547
instructions: [

apps/sim/triggers/microsoftteams/webhook.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export const microsoftTeamsWebhookTrigger: TriggerConfig = {
3030
type: 'string',
3131
description: 'Unique message identifier',
3232
},
33+
input: {
34+
type: 'string',
35+
description: 'Input message',
36+
},
3337
timestamp: {
3438
type: 'string',
3539
description: 'Message timestamp',

apps/sim/triggers/telegram/webhook.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ export const telegramWebhookTrigger: TriggerConfig = {
3232
type: 'string',
3333
description: 'Message text content (if present)',
3434
},
35-
caption: {
36-
type: 'string',
37-
description: 'Caption for media messages (if present)',
38-
},
3935
date: {
4036
type: 'number',
4137
description: 'Date the message was sent (Unix timestamp)',
@@ -64,7 +60,6 @@ export const telegramWebhookTrigger: TriggerConfig = {
6460
},
6561
chat: {
6662
id: { type: 'number', description: 'Chat identifier' },
67-
title: { type: 'string', description: 'Chat title (for groups/channels)' },
6863
username: { type: 'string', description: 'Chat username (if available)' },
6964
first_name: { type: 'string', description: 'First name (for private chats)' },
7065
last_name: { type: 'string', description: 'Last name (for private chats)' },
@@ -74,7 +69,6 @@ export const telegramWebhookTrigger: TriggerConfig = {
7469
is_bot: { type: 'boolean', description: 'Whether the sender is a bot' },
7570
first_name: { type: 'string', description: 'Sender first name' },
7671
last_name: { type: 'string', description: 'Sender last name' },
77-
username: { type: 'string', description: 'Sender username (if available)' },
7872
language_code: { type: 'string', description: 'Sender language code (if available)' },
7973
},
8074
},
@@ -83,17 +77,9 @@ export const telegramWebhookTrigger: TriggerConfig = {
8377
id: { type: 'number', description: 'Sender user ID' },
8478
firstName: { type: 'string', description: 'Sender first name' },
8579
lastName: { type: 'string', description: 'Sender last name' },
86-
username: { type: 'string', description: 'Sender username (if available)' },
8780
languageCode: { type: 'string', description: 'Sender language code (if available)' },
8881
isBot: { type: 'boolean', description: 'Whether the sender is a bot' },
8982
},
90-
chat: {
91-
id: { type: 'number', description: 'Chat identifier' },
92-
title: { type: 'string', description: 'Chat title (for groups/channels)' },
93-
username: { type: 'string', description: 'Chat username (if available)' },
94-
firstName: { type: 'string', description: 'First name (for private chats)' },
95-
lastName: { type: 'string', description: 'Last name (for private chats)' },
96-
},
9783
updateId: {
9884
type: 'number',
9985
description: 'Update ID for this webhook delivery',

0 commit comments

Comments
 (0)