Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make.com integration #628

Merged
merged 8 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/formbricks-com/lib/docsNavigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ const navigation = [
},
{
title: "Integrations",
links: [{ title: "Zapier", href: "/docs/integrations/zapier" }],
links: [
{ title: "Zapier", href: "/docs/integrations/zapier" },
{ title: "Make", href: "/docs/integrations/make" },
],
},
{
title: "Link Surveys",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions apps/formbricks-com/pages/docs/integrations/make/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
import { Layout } from "@/components/docs/Layout";
import { Fence } from "@/components/shared/Fence";
import { Callout } from "@/components/shared/Callout";
import Image from "next/image";

import UpdateQuestionId from "./update-question-id.png";
import DuplicateSurvey from "./duplicate-survey.png";
import CreateNewScenario from "./create-new-scenario.png";
import SearchFormbricks from "./search-formbricks.png";
import SelectTriggers from "./select-trigger.png"
import CreateWebhook from "./create-webhook.png"
import EnterApiKey from "./enter-api-key.png"
import SelectSurvey from "./select-survey.png"
import SubmitTestResponse from "./submit-test-response.png"
import AddModule from "./add-module.png"
import SelectFields from "./select-fields.png"
import Result from "./result.png"
import SelectAction from "./select-action.png"



export const meta = {
title: "Make Setup",
description: "Wire up Formbricks with Make and 1000+ other apps",
};

Make is a visual platform that lets you design, build, and automate anything – from simple tasks to complex workflows. With Make, you can send information between Formbricks and thousands of apps to accelerate data collection for better productivity and revenue potential.

<Callout title="Nail down your survey first" type="note">
Any changes in the survey cause additional work in the Scenario. It makes sense to first settle on the survey you
want to run and then get to setting up Make.
</Callout>

## Step 1: Setup your survey incl. `questionId` for every question

When setting up the integration your life will be easier when you change the `questionId`s of your survey questions. You can only do so **before** you publish your survey.

<Image src={UpdateQuestionId} alt="Update Question ID" quality="100" className="rounded-lg" />

_In every question card in the Advanced Settings you find the Question ID field. Update it so that you’ll recognize the response tied to this question._

<Callout title="Already published? Duplicate survey" type="note">
You can only update the questionId when the survey was not yet published. Already published it? Just
**duplicate it** to update the questionIds.
<Image src={DuplicateSurvey} alt="Duplicate Survey" quality="100" className="rounded-lg" />
</Callout>

## Step 2: Setup Make.com

Go to [Make.com](https://make.com) and create a new scenario.
<Image src={CreateNewScenario} alt="Create New Scenario" quality="100" className="rounded-lg" />

Search for “Formbricks” to get started:
<Image src={SearchFormbricks} alt="Search Formbricks" quality="100" className="rounded-lg" />

Then, choose the event you want to trigger the Scenario on. In this tutorial we will use Response Finished.
<Image src={SelectTriggers} alt="Search Formbricks" quality="100" className="rounded-lg" />

## Step 3: Connect Formbricks with Make
Click on create a webhook
<Image src={CreateWebhook} alt="Search Formbricks" quality="100" className="rounded-lg" />

Enter your Formbricks API key
<Image src={EnterApiKey} alt="Search Formbricks" quality="100" className="rounded-lg" />

## Step 4: Select Survey
Next, you can choose from all the surveys you have created in this environment:
<Image src={SelectSurvey} alt="Search Formbricks" quality="100" className="rounded-lg" />

## Step 5: Send a test response
In order to set up Make you’ll need a test response to the selected survey. This allows you to select the individual values of each response in your Scenario. If you have Formbricks running locally and you want to set up an in-app survey, you can use our [Demo App](/docs/contributing/demo) to trigger a survey and submit a response.
<Image src={SubmitTestResponse} alt="Search Formbricks" quality="100" className="rounded-lg" />

## Step 6: Set up your Google Sheet
Now you have all the data you need at hand. The next steps depend on what you want to do with it. In this tutorial, we will send submissions to a Google Sheet:

Click on add module and select any app of your choice. Here we will choose Google Sheet
<Image src={AddModule} alt="Search Formbricks" quality="100" className="rounded-lg" />

Select Action that you want to perform. Here we will choose "Add a Row"
<Image src={SelectAction} alt="Search Formbricks" quality="100" className="rounded-lg" />

Enter spreadsheet details and map table fields to available data fields
<Image src={SelectFields} alt="Search Formbricks" quality="100" className="rounded-lg" />

Now whenever a new response is created, a new row will be created in out selected spreadsheet
<Image src={Result} alt="Search Formbricks" quality="100" className="rounded-lg" />


export default ({ children }) => <Layout meta={meta}>{children}</Layout>;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Card } from "@formbricks/ui";
import Image from "next/image";
import JsLogo from "@/images/jslogo.png";
import ZapierLogo from "@/images/zapier-small.png";
import MakeLogo from "@/images/make-small.png";

export default function IntegrationsPage() {
return (
Expand All @@ -22,6 +23,13 @@ export default function IntegrationsPage() {
description="Integrate Formbricks with 5000+ apps via Zapier"
icon={<Image src={ZapierLogo} alt="Zapier Logo" />}
/>
<Card
docsHref="https://formbricks.com/docs/integrations/make"
connectHref="https://zapier.com/apps/formbricks/integrations"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will replace the link with the make one, once app is approved

label="Make"
description="Integrate Formbricks with 1000+ apps via Make"
icon={<Image src={MakeLogo} alt="Make Logo" />}
/>
</div>
</div>
);
Expand Down
Binary file added apps/web/images/make-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.