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.
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.
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.
User | Count |
---|---|
18 | |
14 | |
11 | |
7 | |
4 |