Publishing a Make app
Make.com will require you to have your own API documentation (branded with your whitelabelled logos, URLs, etc.). To find out how to create this, please refer to Whitelabel documentation. Once done, you can proceed to the following tasks.
Base configuration
Make.com has its own guide on how to make custom apps here. If you require some functions that are not covered in our guide below, please refer to the official documentation for ideas or assistance.
In terms of your whitelabelled app, Make.com and Zapier integrations share the same metadata property in your plan permissions. Therefore, in your Stripe account, please set the zapier_integration
boolean to True to enable Make.com for your desired plans. You can also visit the Partners Dashboard’s free-plan settings to enable Make.com for free-tier users, if needed.
To start, you will want to go to “Apps” on the left-side menu within your Make.com account, and create a new app. The name, description, logo, etc. are to be determined by you.
After setting up that part, you will be directed to the main app page, to a tab called “Base”. In the base structure code section, you will want to paste the following:
Make sure to replace your-domain.com
with the URL of your whitelabelled app.
Connections
Next, you will want to navigate to the “Connections” tab, and create a new API-key connection. In the webpage that follows, ensure you are on the “Communication” tab, and use the following code in the account validation process box:
Afterwards, navigate to the “Parameters” tab, and insert the following code into the box:
Make sure to replace <Your App>
with the name of your whitelabelled app, and replace your-domain.com
as before.
Webhooks
We want to set up a webhook for form submissions, so forms submitted to a user’s chatbot can be routed to Make.com. Please navigate to the “Webhooks” tab from the main app’s menu, and create a new webhook. The label should be Form Submission
, and the type should be “dedicated URL address”.
Once done, paste the following into the “Communication” code box:
Then, select a connection below. This should be the one you set up in the previous step.
In the “Parameters” tab, paste the following, remember to change the placeholder domain to your own:
For the “Attach” tab, use the following code:
And in the “Detach” tab, use this:
You don’t need anything in the “Update” tab. Save all changes, and you should be done with webhooks.
Modules
You can create new modules from the main app’s “Modules” tab. The following are the 3 that you may want to set up.
Make an API call
This module allows users to call your app’s API via Make.com. When creating this module, you will want to select:
-
Type: Universal
-
Subtype: REST
-
Connection: Select the one you set up in a previous section of this guide
-
Name: Make an API Call
-
Label: Make an API Call
-
Description: Performs an arbitrary authorized API call
You can customize the name, label, and description if you wish.
Once created, you will want to put the following code in the “Communication” tab of your new module:
Ensure that the connection is the same as the one you created earlier, and that in “Options”, the module is set to “Visible”.
You do not need to put anything in “Static Parameters”. In “Mappable Parameters”, you should paste the following:
Finally, paste the following in “Interface”, and save. Your module is done.
Send a message
This module allows users to create chat messages in their chatbot using Make.com. When creating this module, you will want to select:
-
Type: Action
-
Connection: The one you made previously
-
Module action: Create
-
Name: Send a Message
-
Lable: Send a Message
-
Description: Sends messages to a chatbot and receives responses.
Then, in the “Communication” tab, you will want to use the following code:
Ensure that the connection is correct, and visibility is set to “Visible”. In “Mappable Paramters”, you will want the following:
And in “Interfaces”, the following code:
That should be all that’s needed for your message-sending module.
Submitted forms
This is a module that allows Make.com to capture forms submitted by people who interact with your user’s chatbot. You will want to select the following options when creating this module:
-
Type: Instant Trigger
-
Webhook: Select the webhook you created earlier in the guide
-
Name: Watch New Submitted Forms
-
Label: Watch New Submitted Forms
-
Description: Triggers when a new user submits a form within the chat.
You do not need to do anything in the “Communication” tab, except ensure that the connection is correct and that the module is set to “Visible”. In the “Interface” tab, you can use the following code:
And in the “Samples” tab, you can use the following:
After this, you should be all set for modules.
Other settings
In the main app window, you do not need to do anything in the “Remote Procedures”, “Groups”, or “Readme” tabs if you do not want to. You can consult Make.com’s documentation if you would like to customise your integration further.
Once you are set, you can submit your Make.com app for review. You will need to provide a link to your API documentation, as well as create scenarios for each one of your modules.
If you encounter any difficulties with the review process, please let us know.
Once you have completed the review process, your Make.com app should have an associated public invitation link. For example, GPT-trainer’s Make.com link is: https://www.make.com/en/hq/app-invitation/066096884188bc6b173953df718d8808. You can paste this link into the Partners Dashboard once it’s ready.