Skip to content

Forum in maintenance, we will back soon 🙂

Custom Make.com Mod...
 
Notifications
Clear all

Custom Make.com Modules

10 Posts
5 Users
0 Reactions
222 Views
(@rajsidhu)
Posts: 34
Eminent Member
Topic starter
 

Hi @admin in some of your Make.com videos you have create a custom module that makes everything work.

 

I'm sure you said that you show how to create custom modules like this to be used in Make.com scenarios but since i joined a few weeks ago I cannot seem to find a video or instructions on how i can create custom modules.

 

Can you point me to there lessons please?

 

Thanks

 
Posted : 07/04/2024 2:01 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@rajsidhu https://www.make.com/en/use-cases/build-custom-app-in-make

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 07/04/2024 8:23 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

I didnt publish a tutorial on this yet.

But the whole idea is about utilizing an API. 

do you have a specific scenario or example you wanna build an app for?

 
Posted : 07/05/2024 8:58 am
(@lightshines)
Posts: 2
New Member
 

A tutorial will be of great help to users @admin 

 
Posted : 08/23/2024 10:24 am
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

@lightshines Preparing a tutorial on building custom Make Apps.

 
Posted : 08/24/2024 8:39 am
DariDar
(@dari-dar)
Posts: 47
Trusted Member Customer Registered
 

Hello @hassan, hello to all!

Can someone please help with make? I build a scraper with python fastapi and added now to make, so I can use in my projects - I build a webhook so I can use in wordpress UI - I followed this Video: https://learnwithhasan.com/premium-video/build-a-backend-with-no-code-automation-tool-make/.

Unfortunately I have problems with the webhook for the response. My Scraper generates more then one result, but in the response I get only one url shown or at moment no one, because I tried some ideas from ChatGpt but it doesnt function. With google-sheets functions but not witch webhook response.

Here is what I put in webhook response as suggested by ChatGpt -see also the screenshots:

{
"success": {{5.data.success}},
"message": "{{5.data.message}}",
"results": [
{{#each}}{{5.data.result}}
{
"rank": {{rank}},
"url": "{{url}}",
"title": "{{title}}"
}{{#unless}}{{@last}}{{"," / unless}}{{"
" / each}}
]
}

This is the actual json response:

{
    "success": true,
    "message": "Scraping completed successfully",
    "results": [
        [Collection], [Collection], [Collection], [Collection]
        {
            "rank": ,
            "url": "",
            "title": ""
        }NaNNaN
    ]
}

 

 

This is how ti should be:

{
"success": true,
"message": "Scraping completed successfully",
"results": [
{
"rank": 1,
"url": "https://de.wikipedia.org/wiki/keyword",
"title": "The Keyword"
},
{
"rank": 2,
"url": "https://example.com/keyword",
"title": "Top Keyword"
},
{
"rank": 3,
"url": "https://anotherexample.com",
"title": "Creative Keyword"
}
]
}

 

 
Posted : 11/30/2024 7:17 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

if you test the webhook in your browser or using postman or any API client, does it work normally, can you share an example to test from my side?

In make, you will need to parse the json, and then read the response, and if you want to loop, you will need to use a loop module. 

 
Posted : 12/01/2024 8:05 am
DariDar
(@dari-dar)
Posts: 47
Trusted Member Customer Registered
 

Hello @admin, yes of course.
The point is, with google-sheet it works fine - it lists all results in a row as you can see in screenshot. But in webhook it doesnt return the list of results as wanted.

to make it function, you have to start the fastapi application since i have a free version yet: https://python-fast-api-template.onrender.com/ it takes a minute so that the scraper is ready.

And here is the make-hook with a example query: https://hook.eu2.make.com/m2qu3h3lc8e6wtajivyoo6by5jdg1m3a?keyword=ai-automationen&language=de&num_results=4&min_urls=3&blog_type=informational&pp_max_tokens=1000

this is what i get from the response webhook - as you see, only one result is given:

{
    "success": true,
    "message": "Scraping completed successfully",
    "results": [
        [Collection], [Collection], [Collection], [Collection]        {
            "rank": 1,
            "url": "https://www.blueprism.com/de/guides/ai-automation/",
            "title": "Was ist AI-Automatisierung? Alles, was Sie wissen müssen"
        }NaNNaN
    ]
}

in the second screenshot you see how chatgpt told me to programm the response webhook in make:


 

this the code in the webhook:

{
"success": {{5.data.success}},
"message": "{{5.data.message}}",
"results": [
{{#each}}{{5.data.result}} {
"rank": {{5.data.result[].rank}},
"url": "{{5.data.result[].url}}",
"title": "{{5.data.result[].title}}"
}{{#unless}}{{@last}}{{"," / unless}}{{"
" / each}}
]
}

 
Posted : 12/01/2024 11:36 am
DariDar
(@dari-dar)
Posts: 47
Trusted Member Customer Registered
 

@admin I think i got it - I used json as you said - see the screenshot and now it functions:

The only thing is, that my scraper gives a lot of data, but in this case, for the webhook I would like to have for example only the data of rank, url and data of the scraped websites - not more. Like this:

{
"success": true,
"message": "Scraping completed successfully",
"results": [
[
{
"rank": 1,
"url": "https://learnwithhasan.com/",
"title": "Learn With Hasan"}
{
"rank": 2,
"url": "https://twitter.com/LearnWithHasan",
"title": "Hasan (@LearnWithHasan) / X"
},
{
"rank": 3,
"url": "https://www.youtube.com/@DevOpsHasan",
"title": "Learn with Hasan"
}
]
]
}

Maybe this is when loop is needed, I tried with iterator but didn't function. Can you explain it please?

 

At moment I am getting the full response of the scraper when I do the webhook-call. See example here: https://hook.eu2.make.com/m2qu3h3lc8e6wtajivyoo6by5jdg1m3a?keyword=learnwithhassan&language=en&num_results=3&min_urls=2&blog_type=informational&pp_max_tokens=1000

This is the response:

{
    "success": true,
    "message": "Scraping completed successfully",
    "results": [
      [
	{
		"rank": 1,
		"url": "https://learnwithhasan.com/",
		"title": "Learn With Hasan",
		"snippet": "Learn With Hasan LearnWithHasan  https://learnwithhasan.com  LearnWithHasan  https://learnwithhasan.com  Master Top Tech Skills: AI Agents, Python, Prompt engineering, and Automation to 10x your career and accelerate your online business growth.",
		"outline": [
			"h1: 10x Your Business with AI & Automation",
			"h2: Get Free Exclusive Tips & Tutorials Every week",
			"h2: Revolutionize Your Online Business With Free AI-Powered Tools! ",
			"h3: Thank you!",
			"h4: ©  2024 LearnWithHasan | All Rights Reserved.",
			"h4: Privacy Overview",
			"h5: We value your privacy"
		],
		"outline_summary": {
			"h1": 1,
			"h2": 2,
			"h3": 1,
			"h4": 2,
			"h5": 1,
			"h6": 0
		},
		"videos": [
			"https://www.youtube.com/@hasanaboulhasan/"
		],
		"quotes": [],
		"article_text": "...l",
		"word_count": 710,
		"images": [
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2023/02/learnwithhasan-logo.png",
				"alt": "Take Your Digital Marketing Skills To The Next Level"
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2023/11/site-logo-mobile.png",
				"alt": "site logo mobile"
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2022/11/hasan-aboul-hasan.webp",
				"alt": "hasan aboul hasan"
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2022/11/channels4_profile.jpg",
				"alt": ""
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2023/11/Bob-Truesdale-46ddf2fe78d5e082e24c540400b7d8e8.png",
				"alt": ""
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2023/11/1679916644000-a0d247967fa62e7e1bbc01533cf25cf0.jpg",
				"alt": ""
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2022/11/Untitled-design-2022-11-08T131308.574.png",
				"alt": "get traffic promoterkit"
			},
			{
				"url": "https://learnwithhasan.com/wp-content/uploads/2023/11/learnwithhasan-logo.png",
				"alt": ""
			}
		],
		"image_count": 8,
		"internal_links": [
			"https://learnwithhasan.com",
			"https://learnwithhasan.com/blog/",
			"https://learnwithhasan.com/learn/",
			"https://learnwithhasan.com/tools/",
			"https://learnwithhasan.com/newsletter/",
			"https://learnwithhasan.com/community/",
			"https://learnwithhasan.com/library/",
			"https://learnwithhasan.com/blog/",
			"https://learnwithhasan.com/learn/",
			"https://learnwithhasan.com/tools/",
			"https://learnwithhasan.com/newsletter/",
			"https://learnwithhasan.com/community/",
			"https://learnwithhasan.com/library/",
			"https://learnwithhasan.com/user-login",
			"https://learnwithhasan.com/blog/",
			"https://learnwithhasan.com/learn/",
			"https://learnwithhasan.com/tools/",
			"https://learnwithhasan.com/newsletter/",
			"https://learnwithhasan.com/community/",
			"https://learnwithhasan.com/library/",
			"https://learnwithhasan.com/blog/",
			"https://learnwithhasan.com/learn/",
			"https://learnwithhasan.com/tools/",
			"https://learnwithhasan.com/newsletter/",
			"https://learnwithhasan.com/community/",
			"https://learnwithhasan.com/library/",
			"https://learnwithhasan.com/privacy-policy/",
			"https://learnwithhasan.com/refund-policy/",
			"https://learnwithhasan.com/terms",
			"https://learnwithhasan.com/contact-us/",
			"https://learnwithhasan.com/tools-i-use/",
			"https://learnwithhasan.com/about/"
		],
		"internal_link_count": 32
	},
	{
		"rank": 2,
		"url": "https://twitter.com/LearnWithHasan",
		"title": "Hasan (@LearnWithHasan) / X",
		"snippet": "Hasan (@LearnWithHasan) / X X · LearnWithHasan 10+ followers X · LearnWithHasan 10+ followers Hi everyone! I'm a beginner excel user who loves learning and sharing tips and tutorials on twitter. I also host live sessions and answer questions. Follow me ...",
		"outline": [],
		"outline_summary": {
			"h1": 0,
			"h2": 0,
			"h3": 0,
			"h4": 0,
			"h5": 0,
			"h6": 0
		},
		"videos": [],
		"quotes": [],
		"article_text": "x.com",
		"word_count": 2,
		"images": [],
		"image_count": 0,
		"internal_links": [],
		"internal_link_count": 0
	},
	{
		"rank": 3,
		"url": "https://www.youtube.com/@DevOpsHasan",
		"title": "Learn with Hasan",
		"snippet": "Learn with Hasan YouTube · Learn with Hasan 3,2K+ followers YouTube · Learn with Hasan 3,2K+ followers Hi, I am Hasan, I write code for web applications and design solutions. As a hobby, I love to simplify and teach people to code and program applications.",
		"outline": [
			"h1: Bevor Sie zu YouTube weitergehen"
		],
		"outline_summary": {
			"h1": 1,
			"h2": 0,
			"h3": 0,
			"h4": 0,
			"h5": 0,
			"h6": 0
		},
		"videos": [],
		"quotes": [],
		"article_text": "...",
		"word_count": 483,
		"images": [
			{
				"url": "//www.gstatic.com/images/icons/material/system/1x/check_black_24dp.png",
				"alt": ""
			},
			{
				"url": "//www.gstatic.com/images/icons/material/system/1x/check_white_24dp.png",
				"alt": ""
			},
			{
				"url": "//www.gstatic.com/ac/cb/youtube_logo_v2.svg",
				"alt": "YouTube"
			},
			{
				"url": "//www.gstatic.com/images/icons/material/system/1x/check_black_24dp.png",
				"alt": ""
			},
			{
				"url": "//www.gstatic.com/images/icons/material/system/1x/check_white_24dp.png",
				"alt": ""
			}
		],
		"image_count": 5,
		"internal_links": [],
		"internal_link_count": 0
	}
]
    ]
}
 
Posted : 12/01/2024 6:12 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

when you parse the JSON in Make, you can select what data to extract from

 
Posted : 12/03/2024 7:23 am
Share:
[the_ad_group id="312"]