# How to send a message to Amazon SQS queue.
In this tutorial we will send the input student record XML payload to a give Amazon SQS queue.
TBD Following is the payload that is used as input in this use case.
<Record> <StudentName>Tony</StudentName> <StudentRoleNo>4443</StudentRoleNo> <Sessions> <SessionDate>10-04-2020</SessionDate> <SessionName>Advanced Maths</SessionName> </Sessions> </Record>
Drag and drop the SQS node from the AWS section in the pallet to the canvas. Double click the node to open the editor.
Provide a Name for the node and furnish the below fields.
- For Operation select SendMessage
- For QueueUrl provide SQS Url for queue you have in your AWS account.
- For MessageBody provide
Ensure that you have an SQS queue available in yur AWS account before configuring the node. Reference: https://aws.amazon.com/sqs/getting-started/
Drop the debug node from the pallette to the canvas and wire the SQS node to debug node. Provide the Name of the debug node as Completed.
Now lets test the flow by clicking on the TBD.
Go to your SQS queue in the AWS account which you have used in this use case. You should be able to see the XML that you have posted to the flow in the queue.