cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nani5swamy
Helper II
Helper II

Outlook integration with Flow for AI builder(Form processing)

Hi All,

 

Please suggest any reference link on Outlook email integration with Flow for AI builder(Form processing).

 

Vendor invoice will receive through mail as an attachment. We need to do OCR process using AI builder(form processing) through flow to powerapps.

3 REPLIES 3
v-lin-msft
Post Prodigy
Post Prodigy

Hi @nani5swamy,

 

About the steps get attachments from email you can refer to the screenshots as below:Annotation 2019-07-01 114621.png

 

About how to use AI builder maybe you can refer to this post:

https://powerusers.microsoft.com/t5/MBAS-Gallery/Microsoft-PowerApps-and-Microsoft-Flow-Learn-how-to...

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-lin-msft 

 

As suggested, followed the steps and struct at prediction. 

 

Output:

 

{
"statusCode": 400,
"headers": {
"Cache-Control": "no-cache",
"Set-Cookie": "ReqClientId=69090214-d019-4ff6-9a58-ed1f93b0d360; expires=Tue, 02-Jul-2069 04:12:51 GMT; path=/; secure; HttpOnly,orgId=b0329290-2621-4d33-a413-0c723b326cc2; expires=Tue, 02-Jul-2069 04:12:51 GMT; path=/; secure; HttpOnly,ApplicationGatewayAffinity=b744c2641db7b9cdd40cf1d5c66a4c34475d4074574ea5afc1c5fd0d9b0d30f5;Path=/;Domain=org5a02c797.crm.dynamics.com",
"Server": "",
"x-ms-service-request-id": "d4bf0448-fafa-4143-bb76-f60bf3246586",
"REQ_ID": "d4bf0448-fafa-4143-bb76-f60bf3246586,d4bf0448-fafa-4143-bb76-f60bf3246586",
"AuthActivityId": "627803ad-2648-43c4-a1e6-669084d94c2b",
"x-ms-ratelimit-burst-remaining-xrm-requests": "5999",
"x-ms-ratelimit-time-remaining-xrm-requests": "1,197.59",
"OData-Version": "4.0",
"Public": "OPTIONS,GET,HEAD,POST",
"Date": "Tue, 02 Jul 2019 04:12:53 GMT",
"Content-Length": "3564",
"Allow": "OPTIONS,GET,HEAD,POST",
"Content-Type": "application/json; odata.metadata=minimal",
"Expires": "-1"
},
"body": {
"error": {
"code": "0x80040265",
"message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InternalServerError\",\"message\":\"Status code action Unknown is not handled. error message : File content could not be parsed, could be that the mime type does not match the actual binary content\"}}",
"innererror": {
"message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InternalServerError\",\"message\":\"Status code action Unknown is not handled. error message : File content could not be parsed, could be that the mime type does not match the actual binary content\"}}",
"type": "System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]",
"stacktrace": " at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.<>c__DisplayClass11_0.<PostBoundAction>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}
}
}
}

Did you every find a solution to this?

I am struggling with the same issue, works fine if I resubmit the failed flow manually but never likes the email trigger.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,173)