diff --git a/public/svg/n8n.svg b/public/svg/n8n.svg
new file mode 100644
index 000000000..82f0a6da2
--- /dev/null
+++ b/public/svg/n8n.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/components/integration/IntegrationSettings.tsx b/src/components/integration/IntegrationSettings.tsx
index 5ca718406..e7af3ca09 100644
--- a/src/components/integration/IntegrationSettings.tsx
+++ b/src/components/integration/IntegrationSettings.tsx
@@ -34,7 +34,7 @@ export interface IntegrationSettings {
airtableTableName?: string,
airtableTableId?: string,
data: string;
- integrationType: "googleSheets" | "airtable";
+ integrationType: "googleSheets" | "airtable"| "n8n";
}
const getCookie = (name: string): string | null => {
@@ -84,7 +84,7 @@ export const IntegrationSettingsModal = ({
const navigate = useNavigate();
const [selectedIntegrationType, setSelectedIntegrationType] = useState<
- "googleSheets" | "airtable" | null
+ "googleSheets" | "airtable" | "n8n" | null
>(preSelectedIntegrationType);
const authenticateWithGoogle = () => {
@@ -394,7 +394,7 @@ export const IntegrationSettingsModal = ({
}}
style={{ display: "flex", flexDirection: "column", alignItems: "center", background: 'white', color: '#ff00c3' }}
>
-
+
Google Sheets
@@ -407,9 +407,21 @@ export const IntegrationSettingsModal = ({
}}
style={{ display: "flex", flexDirection: "column", alignItems: "center", background: 'white', color: '#ff00c3' }}
>
-
+
Airtable
+
diff --git a/src/components/recorder/SaveRecording.tsx b/src/components/recorder/SaveRecording.tsx
index a85cb868f..f6231533b 100644
--- a/src/components/recorder/SaveRecording.tsx
+++ b/src/components/recorder/SaveRecording.tsx
@@ -8,7 +8,7 @@ import { useSocketStore } from "../../context/socket";
import { TextField, Typography } from "@mui/material";
import { WarningText } from "../ui/texts";
import NotificationImportantIcon from "@mui/icons-material/NotificationImportant";
-import { useNavigate } from 'react-router-dom';
+import { useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
interface SaveRecordingProps {
@@ -55,6 +55,8 @@ export const SaveRecording = ({ fileName }: SaveRecordingProps) => {
const handleFinishClick = () => {
if (recordingName && !recordings.includes(recordingName)) {
saveRecording();
+
+
} else {
setOpenModal(true);
}
@@ -191,4 +193,4 @@ const modalStyle = {
height: 'fit-content',
display: 'block',
padding: '20px',
-};
\ No newline at end of file
+};