From 58532ae7e851bdc81ee8a9df5226aab3dd3d2841 Mon Sep 17 00:00:00 2001 From: Dipu Date: Mon, 13 Apr 2026 16:40:55 +0545 Subject: [PATCH] feat: add FourFour integration configuration --- fourfour/amp.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 fourfour/amp.yaml diff --git a/fourfour/amp.yaml b/fourfour/amp.yaml new file mode 100644 index 0000000..ec51ca7 --- /dev/null +++ b/fourfour/amp.yaml @@ -0,0 +1,47 @@ +specVersion: 1.0.0 +integrations: + - name: fourFour-read + displayName: FourFour-integration + provider: fourFour + read: + objects: + - objectName: Chats + destination: fourFourWebhook + schedule: "*/10 * * * *" + # https://fourfour.ai/developers/api#tag/Chats/paths/~1Chats/get + requiredFields: + - fieldName: id + - fieldName: created_at + optionalFields: + - fieldName: filtered_at + - fieldName: user_id + backfill: + defaultPeriod: + fullHistory: true + + + - objectName: ChatMessages + destination: fourFourWebhook + schedule: "*/10 * * * *" + # https://fourfour.ai/developers/api#tag/ChatMessages/paths/~1ChatMessages/get + requiredFields: + - fieldName: content + - fieldName: created_at + - fieldName: id + optionalFieldsAuto: all + backfill: + defaultPeriod: + fullHistory: true + + + - objectName: Labels + destination: fourFourWebhook + # https://fourfour.ai/developers/api#tag/Labels/paths/~1Labels/get + schedule: "*/10 * * * *" + requiredFields: + - fieldName: id + - fieldName: updated + optionalFieldsAuto: all + + proxy: + enabled: true \ No newline at end of file