Uploading a file needs the file path when the bot is run in API data. For this upload event is there in Datakund, which uploads the file sent in API data without human interaction.
Create a new variable e.g ‘file' and save it. Now get back to the Train section and start training and open the URL where you want to upload the file.
Right-click on the area where you will click to upload the file. Now Datakund>Inputs>Variables>file>Upload.
The new event will be added in charts.
Run the bot. Put the File path in the input area. As shown below image.
Check for Link
Checkurl event is used where you want to proceed to bot only and only if the current URL matches with the URL while training. For example, you logged in to PayPal through cookies, but it didn’t log in because of some reason, and when you are trying to create an invoice. Here you can insert checkurl after the login process and at the beginning of creating an invoice to check if the URL is matching with the URL in training.
To add check for link event, open the url on which check need to be applied e.g. your youtube channel videos link. Then Right Click>DataKund>More>Check for link.
Now can stop training by clicking on the stop button. Wait till the loading gets finished. Here the Training part ends.