120 pounds a months a month Logic App Cost
If I did it manually 60 minutes for erdem to send daily!
Erdems revenue 60 minute is 16 pounds > 1m/7 years/24 hours
120 Azure Cost/30/1 days in months = 4 pounds
4 pounds ( AI DOES IT ) < 16 pounds ( ERDEM DOES IT )
Time

Cost

Job

main cost coming from the skill distill > optimize


turn email into caps

Trial code
`const cheerio = require('cheerio');
module.exports = async function (context, req) {
context.log('JavaScript HTTP trigger function processed a request.');
if (req.body && req.body.htmlContent) {
const htmlContent = req.body.htmlContent;
const uppercaseWords = transformAndSplit(htmlContent);
context.res = {
status: 200,
body: uppercaseWords.length > 0 ? uppercaseWords : "No text found in the HTML content."
} else {
context.res = {
status: 400,
body: "Please provide HTML content in the request body."
}
function transformAndSplit(htmlContent) {
const $ = cheerio.load(htmlContent);
let textContent = $('body').text(); // Extract text content from the body
textContent = textContent.toUpperCase(); // Convert text to uppercase
const wordsArray = textContent.split(/\s+/); // Split the text into words by spaces
return wordsArray.filter(word => word.trim().length > 0); // Filter out any empty strings resulting from the split
}
tester json
{
"htmlContent": "<!DOCTYPE html>
Hello, world! This is a test email body.
It includes multiple sentences, and even some links!
Regards,
The Testing Team
"}
`

test

send this as body with compose

just assign at the end

fix with your input > array not the action html


resubmit 1.5 min utes

zero sec passing

3 runs 90 sec to ????

5 sec

but output is empty
union fails for somereason

remove these

more realistic examples

learning the set keyword

CAncel notion ai for now>>> i dont do the datsource based action


120 dollars

there is a devops keyword here
https://portal.azure.com/#view/Microsoft_Azure_EMA/LogicAppsMonitorBlade/runid/%2Fsubscriptions%2Fad744a08-2411-4d78-b417-1f1c83f4f741%2Fresourcegroups%2FContractorMarketing%2Fproviders%2FMicrosoft.Logic%2Fworkflows%2Fcontractormarketing-skillgap-distill%2Fruns%2F08584898858800192733573023190CU08
also tells my erro as well

update

code alternatives by gpt

it is valid but going into array has issues

added a parse

cacthes for implementaor

15 sec from 150 sec

who is writing the code

not dictionary

Dream on

150 sec to 3 sec x 50 leverage

much faster skills loading

Imported from rifaterdemsahin.com · 2024