Create custom metadata to store access token for later user.Ī.Create lightning component to get access token.Create Apex class to generate URL for getting access token.Below steps will be used to get access token Let us Authenticate Salesforce App and get access token from Google authentication service. Get Access Token from Google Authentication Service Second Lightning Component to get Transcription from Speech APIġ.First Lightning Component to get Access Token from Google Authentication Service.We need to set redirect url which will be lighting component url for authenticating and getting access token.Īs mentioned above, to get transcription from audio we have to create two lightning components. Use Lightning url of your org without https. Authorize domain in OAuth Consent Screen.Create project in Google Cloud and enable Cloud Speech-to-Text API at.One component will get access token from Google authorization service and second component will use this access token to generate text from audio file. To make this requirement achievable, we have to create two lightning component. As a requirement, we need to convert attached audio file and add that to case comment in same record. This audio file is attached in case record. This post is using Google Speech API to transcribe audio file into text. There are many solutions available for converting audio/video file to text. We can check how agents are discussing with customers. Once we get text from audio files, we can review those conversions. These audios were majorly from customer calls with agents. Recently we were having a requirement for getting text from audio or video file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |