aws


image post

AWS suspended error AppFlow

The flow has been suspended due to an error in Salesforce when subscribing to the event.
Andrés Canavesi - Feb 09, 2022
AWS AppFlow suspended status error is sown for many reasons. You have to click on the <i>Suspended</i> word in the AWS console to see the extended error. Another option is to see it through the CLI

image post

AWS AppFlow error conflict executing request connector profile is associated with one or more flows

If we try to delete a connector from the AWS console and it is associated with one or many flows, it will display this error.
Andrés Canavesi - Feb 09, 2022
Let's say you have a Salesforce connector (it is valid for any other available) and the token expired. The only way so far is to delete and recreate the connection again. Would be nice to keep the same connection and run the handshake again but it is impossible nowadays.


image post

Invalid request provided: AWS::AppFlow::FlowCreate - Salesforce integration

This is a common error when a field is mapped in App Flow but it doesn't exist in Salesforce
Andrés Canavesi - Nov 19, 2021
Resource handler returned message: "Invalid request provided: AWS::AppFlow::FlowCreate Flow

image post

AppFlow Salesforce: how to sync up relationships

An elegant solution to sync up relationships from Salesforce to AppFlow
Andrés Canavesi - Nov 10, 2021
Only basic types such as strings or numbers can be passed through AppFlow which means that look-up fields will be ignored. There's a way you can do it with some work from using the Salesforce out-of-the-box Process Builder tool, a custom object and some lines of Apex code.

image post

Salesforce integration with AWS AppFlow, S3, Lambda and SQS

Send data out of Salesforce with AWS AppFlow service in realtime
Andrés Canavesi - Aug 24, 2021
There are many ways to sync up our Salesforce data with third parties. One option is a mix of Salesforce and AWS services, specifically Change Data Capture from Salesforce and AppFlow from AWS.

image post

How to trigger a Lambda Function from S3

Notify a Lambda Function when creating a new file in an S3 bucket
Andrés Canavesi - Jun 20, 2021
Using Cloudformation to declare a Lambda Function and an S3 bucket

image post

How to write to S3 bucket from Lambda function

AWS SAM template to create a Lambda function and an S3 bucket. Cloudformation world
Andrés Canavesi - May 12, 2021
Let's create a SAM template to declare a Lambda function to write into an S3 bucket

image post

How to trigger a Lambda with a SQS message

AWS SAM template to execute a Lambda Function by writing a message in a SQS queue. Cloudformation world
Andrés Canavesi - May 12, 2021
Let's create a SAM template to declare a Lambda function to be triggered from an SQS message

image post

How to publish a message in SQS from SNS

Creating a AWS CloudFormation template to publish to a topic and send it to Amazon SQS queues
Andrés Canavesi - May 10, 2021
A CloudFormation template example about how to create an SNS topic to publish a message in SQS in the AWS wolrd

image post

How to send a message to AWS SQS queue from Salesforce Apex class

Surprisingly, making a callout to put a message in AWS SQS queue is tricky in Apex
Andrés Canavesi - Jan 31, 2021
How to post a message in an AWS SQS queue from an Apex class in Salesforce

image post

Upload big files to S3 using Node.js

Stream big files from disk and upload them to AWS S3 bucket using chunks
Andrés Canavesi - Jul 29, 2020
Sometimes you need to upload a big file, let say bigger than 100MB. Stream from disk must be the approach to avoid loading the entire file into memory.