NINOX Email Response

Hi guys,
I created a mailing software with in Ninox an MAKE.

It’s absolutely no problem to send or received emails.

I am sending my messages from Ninox with a button. This triggers a hook up. Is there an opportunity to get a call back if the message was sent? Something like a pop Up which says “The message was sent”?

Best
Christoph

let myID := this;
if Absender = null then
	alert("Das Feld 'Absender' muss ausgefüllt sein, da sonst die E-Mail nicht versandt werden kann.")
end;
let response := do as server
		http("GET", "XXXX", {
			'Content-Type': "application/json"
		}, {
			myID: number(myID.Nr),
			Vorname: Absender.Vorname,
			Nachname: Absender.Nachname,
			IdAbsender: Absender.Nr,
			Email: 'Empfänger'.'E-Mail',
			CC: CC.'E-Mail',
			CC2: 'CC 2'.'E-Mail',
			Subjekt: Betreff,
			Body: Nachricht,
			Bild: Anhang,
			Absender: "B&C Productions GbR"
		})
	end;
if response.statusCode = 200 then
	closeRecord();
	openTable("Posteingang")
else
	alert("E-Mail konnte nicht versandt werden. Bitte überprüfen Sie Ihre Eingaben.")
end

Hi,
I’m not so familiar with Ninox, but you probably can send a webhook from there to the default webhook app in Make.
It has a webhook response module, that you can set up as you need for Ninox.

3 Likes

Thanks that was what I am looking for.

with

response.result =
I was able to trigger Ninox. Its kind of strange because the module is given the Text Accepted out and not for example the status code 200.

So I used finally

if response.result = "Accepted" then
		alert("That was working!")
1 Like

The “Accepted” text is the default text that the webhook returns when you trigger it.
If you add a Webhook response module it should return the value that you mention there. (You can also add JSON if needed)