Problem with Bot Email

Dear, I am facing an issue with email automation which will be trigger if a columnโ€™s value is changed.

Firstly, my app is not a deployed app, it is still a prototype, I have create the bot to handle the event and sending an email.

I have check the bot with the provided โ€œMonitoringโ€ features, the chart for the bot status is completed.

And I also check in the audit log, and it also show that the email is success send.

But the problem is, I didnโ€™t receive the email, I have try several time, I even tried to re-create the bot, but it still not helping.


0 13 749
13 REPLIES 13

The log entry you show confirms that the Bot was triggered but it doesnโ€™t reflect whether the Process or Steps executed.

You should also take a look at the Bot Monitor. You will find a button at the top of your Bot configuration panel to launch it. Look for any errors reported there AND that your specific Email step was executed.

If the Monitor looks good then the next thing to inspect is the Email step to make sure it is configured correctly. As for email addresses, for undeployed apps the email will automatically be sent to the email address you are logged into AppSheet with. So make sure you looking in the correct Inbox AND that the email itself was not funneled into your Spam/Junk email folder.

Next check that your email service is good and that the AppSheet sourced email is not being blocked for any reason.

If all above seems good, then please post images of the Email step in your Bot for us to look at to see if we can spot anything causing an issue.

Dear, I think I know why.

I understand that, if a non deployed app, it will email to the app creator.

But now, even app creator also not receiving the email, I guess is the app have been inviting other user to sign in, thatโ€™s why it now even not email to the app creator.

If you are referring to adding โ€œtestโ€ users, I donโ€™t think that is the problem. All functions should work. If an Email is generated, by ANY test user in an undeployed app, that email should be sent but ONLY to the app creator email address.

Dear Willow, thanks for helping.

Ya, understand that the email will be send to the app creator if it yet to deploy, but unfortunately app creator didnโ€™t received the email.

I have check in the Bot monitor, but everything seems fine.

Why am I suspect the email doesnโ€™t sent out due to I have inviting other user to test my app, is it because I just run a deployment check, and I get the error message as below:

That error message would affect attempt to physically deploy the app. It should NOT impact running of any functionality under the FREE plan. Something else is preventing the email from being sent.

The only way we can help more is if you were to show us your Bot implementation - the Event, Process and Tasks.

Dear Willow, thanks for helping.

I still have no any clue of what wen wrong, attach as the Audit Log:

And below as the detail for the email action:
Action Details
Email Details
Properties:
{
โ€œEventTypeโ€: โ€œChangeโ€,
โ€œInvokedByโ€: โ€œUpdateโ€,
โ€œAppTemplateVersionโ€: โ€œ1.000227โ€,
โ€œProcess Nameโ€: โ€œEmail Asset Master Full Report Processโ€,
โ€œServerRegionโ€: โ€œus-west1โ€,
โ€œTableNameโ€: โ€œReportingโ€,
โ€œOperationUpdateModeโ€: โ€œUPDATES_ONLYโ€,
โ€œEventMatchโ€: โ€œWorkflow event successfully matchedโ€,
โ€œIgnoreSecurityFiltersโ€: false,
โ€œConditionโ€: โ€œ=AND([Report Name]=โ€˜Asset Masterโ€™,[_THISROW_BEFORE].[Printed Count]<>[_THISROW_AFTER].[Printed Count])โ€,
โ€œMatchesConditionโ€: โ€œTrueโ€,
โ€œTask Typeโ€: โ€œEmailโ€,
โ€œTask Nameโ€: โ€œEmail Asset Master Full Report Taskโ€,
โ€œWarningsโ€: โ€œWarning: App version 1.000227 is not deployed. All emails are therefore being sent to the app creator. This email should have gone To โ€˜uda.asset.super.user@gmail.comโ€™ CCโ€™ed to โ€˜โ€™ and BCCโ€™ed to โ€˜โ€™โ€,
โ€œEmailToโ€: โ€œuda.asset.super.user@gmail.comโ€,
โ€œEmailCCโ€: โ€œโ€,
โ€œEmailBCCโ€: โ€œโ€,
โ€œEmailFromDisplayโ€: โ€œUDA ASSET TRACKING SYSTEMโ€,
โ€œEmailReplyToโ€: โ€œnoreply@appsheet.comโ€,
โ€œEmailPreHeaderโ€: โ€œUpdate to application โ€˜Asset Trackingโ€™ table โ€˜Asset Masterโ€™ by โ€˜uda.asset.super.user@gmail.comโ€™ at 29/11/2021 14:08:52\r\n[App version 1.000227 is not deployed. All emails are therefore being sent to the app creator. This email should have gone To โ€˜uda.asset.super.user@gmail.comโ€™ CCโ€™ed to โ€˜โ€™ and BCCโ€™ed to โ€˜โ€™]\r\nโ€,
โ€œEmailSubaccountโ€: โ€œFreeAccountโ€,
โ€œEmailSubjectโ€: โ€œASSET MASTER REPORTโ€,
โ€œEmailTitleโ€: โ€œAlert: Update to application โ€˜Asset Trackingโ€™ table โ€˜Asset Masterโ€™โ€,
โ€œEmailMessageChannelNameโ€: โ€œSystem Defaultโ€,
โ€œEmailIsDynamicโ€: false,
โ€œEmail Attachment Nameโ€: โ€œAsset Master Full Report.pdfโ€,
โ€œEmail Attachment Archiveโ€: โ€œAttachAndDoNotArchiveโ€,
โ€œEmail Attachment ByteLengthโ€: 0,
โ€œEmail Attachment FileNameโ€: โ€œโ€,
โ€œEmail Attachment FilePathโ€: โ€œโ€,
โ€œEmail Attachment MIMETypeโ€: โ€œapplication/pdfโ€,
โ€œEmail Attachment PageOrientationโ€: โ€œLandscapeโ€,
โ€œEmail Attachment PageSizeโ€: โ€œA4โ€,
โ€œEmail Attachment PDFCountโ€: 1,
โ€œEmail Attachment TemplateHasCustomFontsโ€: false,
โ€œEmail Attachment TextLengthโ€: 4555248,
โ€œAppTemplateNameโ€: โ€œ7994bdd9-68f5-4bc9-a5d5-a864761696c5โ€,
โ€œOperationโ€: โ€œChange Botโ€,
โ€œResultโ€: โ€œSuccessโ€
}

Based on this detail, AppSheet is successfully generating and sending an email to the app creator email address - that would be the one you have logged into AppSheet with.

Since you are not receiving the email, even in Spam/Junk folders, it is likely the email is being blocked as Spam somewhere along its travel path. I recommend opening a ticket to AppSheet to investigate. If the above is true, AppSheet can clear it up.

https://www.appsheet.com/Support/Contact

In the meantime, I am noticing these details in the log entry. It seems the attachment is blank. Try sending just a regular email with some text in the email body and NO attachment.

Dear Willow, thanks again for the help.

I have try remove the PDF attachment, and ya, I receive the email without attachment.

I am wonder, am I having a huge PDF attachment, and will this causing this problem?

According to the log entries, the attachment is empty. Are you generating the PDF using a template or is this a pre-existing PDF?

Hi Willow, I am generating the PDF using a template.

Thanks for the clue, after read your reply, I change my email PDF as attach & archive.

And found that, the email is still not send, but I found the archive PDF file, the size is about 36mb, I believe this is the reason why I didnโ€™t received the email, as I remember, the largest size that could attached with GMAIL is 25mb.

Thanks you for your help.

PS: Do you have any clue, how can I reduce the generated PDF file?

I would test with a smaller sized PDF to see if your suspicion is correct.

This will highly depend on the content of your PDF. If you have a lot of graphics and/or images, then maybe you can reduce the number of those.

If the PDF is mostly data, then it might be best to break the PDF into separate logical parts each being emailed individually.

Another option might be to provide the LINK to the file rather than an attachment. Recipients can then download the file to view it.

Thanks Willow.

Top Labels in this Space