diff --git a/docs/nodes/credentials/AWS/README.md b/docs/nodes/credentials/AWS/README.md index ad9aeebed..ae6ff7f0c 100644 --- a/docs/nodes/credentials/AWS/README.md +++ b/docs/nodes/credentials/AWS/README.md @@ -15,6 +15,7 @@ You can use these credentials to authenticate the following nodes with AWS. - [AWS SNS](../../nodes-library/nodes/AWSSNS/README.md) - [AWS SNS Trigger](../../nodes-library/trigger-nodes/AWSSNSTrigger/README.md) - [AWS SQS](../../nodes-library/nodes/AWSSQS/README.md) +- [AWS Transcribe](../../nodes-library/nodes/AWSTranscribe/README.md) ## Prerequisites diff --git a/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSS3_node.png b/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSS3_node.png new file mode 100644 index 000000000..33af79b3a Binary files /dev/null and b/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSS3_node.png differ diff --git a/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSTranscribe_node.png b/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSTranscribe_node.png new file mode 100644 index 000000000..30e5da4d2 Binary files /dev/null and b/docs/nodes/nodes-library/nodes/AWSTranscribe/AWSTranscribe_node.png differ diff --git a/docs/nodes/nodes-library/nodes/AWSTranscribe/README.md b/docs/nodes/nodes-library/nodes/AWSTranscribe/README.md new file mode 100644 index 000000000..103642037 --- /dev/null +++ b/docs/nodes/nodes-library/nodes/AWSTranscribe/README.md @@ -0,0 +1,66 @@ +--- +permalink: /nodes/n8n-nodes-base.awsTranscribe +description: Learn how to use the AWS Transcribe node in n8n +--- + +# AWS Transcribe + +[AWS Transcribe](https://aws.amazon.com/transcribe/) is a service that recognizes speech in your audio or video and transcribes that speech into text. + +::: tip 🔑 Credentials +You can find authentication information for this node [here](../../../credentials/AWS/README.md). +::: + +## Basic Operations + +::: details Transcription Job +- Create a transcription job +- Delete a transcription job +- Get a transcription job +- Get all transcriptions job +::: + +## Example Usage + +This workflow allows you to create transcription jobs for all your audio and video files stored in AWS S3. You can also find the [workflow](https://n8n.io/workflows/1111) on n8n.io. This example usage workflow uses the following nodes. +- [Start](../../core-nodes/Start/README.md) +- [AWS S3](../../nodes/AWSS3/README.md) +- [AWS Transcribe]() + +The final workflow should look like the following image. + +![A workflow with the AMQP Sender node](./workflow.png) + +### 1. Start node + +The start node exists by default when you create a new workflow. + +### 2. AWS S3 node (getAll: file) + +This node will retrieve all the files from an S3 bucket you specify. + +1. First of all, you'll have to enter credentials for the AWS S3 node. You can find out how to do that [here](../../../credentials/AWS/README.md). +2. Select 'Get All' from the ***Operation*** dropdown list. +3. Enter the bucket name in the ***Bucket Name*** field. +4. Toggle ***Return All*** to `true`. This option will return information on all the files stored in the S3 bucket. +5. Click on ***Execute Node*** to run the node. + +In the screenshot below, you will notice that the node returns information of all the files stored in the bucket you specified. + +![Using the AWS S3 node to fetch information of files stored in a bucket](./AWSS3_node.png) + +### 3. AWS Transcribe node (create: transcriptionJob) + +This node will create a transcription job for the files that get returned by the previous node. +::: v-pre +1. Select the credentials that you entered in the previous node. +2. Click on the gears icon next to the ***Job Name*** field and click on ***Add Expression***. +3. Enter `{{$json["Key"].replace(/\s/g,'-')}}` in the ***Expression*** field. The code snippet fetches the name of the file and replaces the white-spaces with a hyphen (-). +4. Click on the gears icon next to the ***Job Name*** field and click on ***Add Expression***. +5. Enter `s3://{{$node["AWS S3"].parameter["bucketName"]}}/{{$json["Key"]}}` in the ***Expression*** field. +6. Toggle ***Detect Language*** to `true`. +7. Click on ***Execute Node*** to run the node. +::: +In the screenshot below, you will notice that the node creates a transcription job for the files stored in an S3 bucket. + +![Using the AWS Transcribe node to create a transcription job](./AWSTranscribe_node.png) diff --git a/docs/nodes/nodes-library/nodes/AWSTranscribe/workflow.png b/docs/nodes/nodes-library/nodes/AWSTranscribe/workflow.png new file mode 100644 index 000000000..52ffe075c Binary files /dev/null and b/docs/nodes/nodes-library/nodes/AWSTranscribe/workflow.png differ