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/integromat app #8897

Merged
merged 64 commits into from
Sep 4, 2023
Merged

Conversation

aar2dee2
Copy link
Contributor

What does this PR do?

Fixes #1550
/attempt #1550

Environment: Staging(main branch) / Production

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

  • Test A
  • Test B

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works
  • I haven't checked if new and existing unit tests pass locally with my changes

@vercel
Copy link

vercel bot commented May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api 🔄 Building (Inspect) Sep 4, 2023 2:47pm
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 2:47pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 2:47pm
web-staging 🔄 Building (Inspect) Sep 4, 2023 2:47pm

@vercel
Copy link

vercel bot commented May 15, 2023

@aar2dee2 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

github-actions bot commented May 15, 2023

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@joeauyeung
Copy link
Contributor

Hi @aar2dee2, great start on the app so far. I'm going to convert this PR to a draft as this isn't fully flushed out yet. Once you are done feel free to mark this PR as ready for review.

@joeauyeung joeauyeung marked this pull request as draft May 16, 2023 11:53
@PeerRich PeerRich changed the title start make.com/integromat app integration feat: start make.com/integromat app integration May 24, 2023
@PeerRich PeerRich changed the title feat: start make.com/integromat app integration feat: make.com/integromat app May 24, 2023
@PeerRich
Copy link
Member

@aar2dee2 whats missing here to be ready for review?

@aar2dee2
Copy link
Contributor Author

@aar2dee2 whats missing here to be ready for review?

Hi @PeerRich
Still working on this, I'll push some commits in a few hours.

@PeerRich PeerRich added Medium priority Created by Linear-GitHub Sync app-store area: app store, apps, calendar integrations, google calendar, outlook, lark, apple calendar labels May 25, 2023
@aar2dee2
Copy link
Contributor Author

So, I've got the webhooks & modules setup. Auth is working using a cal.com API key (similar to Zapier integration).
Few changes needed, should be ready for review tomorrow.
https://www.loom.com/share/00c29d32c7b64f9fb50e8cce29fcde32

@aar2dee2
Copy link
Contributor Author

There a number of handlers that import the nodeScheduler from the Zapier app to perform an action when bookings are created/deleted etc. Do we want to follow the same approach for the Make integration?

Will we need to handle Make as Zapier is handled in the files below?

@PeerRich tagging you, not sure who's the right person to answer this.

@aar2dee2
Copy link
Contributor Author

Working integration with Google Sheets:
https://www.loom.com/share/dd74c25570c2438a8d0e2fc354df73af

hariombalhara
hariombalhara previously approved these changes Aug 31, 2023
Copy link
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

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

Code looks good to me now!! Great work @aar2dee2. Conflicts need to be resolved though before merge which I think @CarinaWolli will help with that.

@@ -337,7 +337,9 @@ export default async function main() {
invite_link: process.env.ZAPIER_INVITE_LINK,
});
}

await createApp("make", "make", ["automation"], "make_automation", {
invite_link: "https://make.com/en/hq/app-invitation/6cb2772b61966508dd8f414ba3b44510",
Copy link
Member

Choose a reason for hiding this comment

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

i'll take a look at how we can get the app published, so we won't need the link no more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a section to apply for review within the app I created on Make. I'll get it started and open another PR here so we can track the progress.
Screenshot 2023-09-01 at 9 15 15 AM

Copy link
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

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

I fixed the conflicts and made some small changes. Looks good to me now, great work 🙌🏻

@CarinaWolli CarinaWolli requested a review from zomars August 31, 2023 19:04
@CarinaWolli CarinaWolli enabled auto-merge (squash) September 1, 2023 12:33
@CarinaWolli CarinaWolli dismissed zomars’s stale review September 4, 2023 14:46

Invite link is available on setup page. Will be removed once cal.com app is publish in Make

@CarinaWolli CarinaWolli merged commit b27f014 into calcom:main Sep 4, 2023
Copy link

@elie222 elie222 left a comment

Choose a reason for hiding this comment

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

Typo

@@ -1089,6 +1092,7 @@
"or_lowercase": "or",
"nevermind": "Nevermind",
"go_to": "Go to: ",
"invite_link_make": "<li>Go to<a>Make Invite Link</a> and install Cal.com appp</li>",
Copy link

Choose a reason for hiding this comment

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

Typo here. It's app

Copy link
Member

Choose a reason for hiding this comment

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

thx. will fix in a different PR

@PeerRich
Copy link
Member

PeerRich commented Sep 5, 2023

image
what do we need here @aar2dee2 ?

@aar2dee2
Copy link
Contributor Author

aar2dee2 commented Sep 6, 2023

image what do we need here @aar2dee2 ?

We need to copy the invite link from the app store README. Here's the link https://www.make.com/en/hq/app-invitation/6cb2772b61966508dd8f414ba3b44510

I'm thinking we can also add the invite link to the app description in the app store until we have a public app on Make?
Screenshot 2023-09-06 at 9 59 08 AM

@CarinaWolli
Copy link
Member

@aar2dee2 I think it should be fine to have the invite link on the Make setup page until the app is public. I somehow messed that up in this PR, but just opened a fix: #11177

Screenshot 2023-09-06 at 14 06 29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-store area: app store, apps, calendar integrations, google calendar, outlook, lark, apple calendar ❗️ .env changes contains changes to env variables ✨ feature New feature or request Medium priority Created by Linear-GitHub Sync
Projects
No open projects
Status: Medium priority
Development

Successfully merging this pull request may close these issues.

[CAL-584] Integromat / Make.com App
9 participants