Microsoft Power Automate

This connector is available in the following products and regions:

ServiceClassRegions
Logic AppsStandardAll Logic Apps regions except the following:
- Azure Government regions
- Azure China regions
- US Department of Defense (DoD)
Power AutomatePremiumAll Power Automate regions except the following:
- US Government (GCC)
- US Government (GCC High)
- China Cloud operated by 21Vianet
- US Department of Defense (DoD)
Power AppsPremiumAll Power Apps regions except the following:
- US Government (GCC)
- US Government (GCC High)
- China Cloud operated by 21Vianet
- US Department of Defense (DoD)

Creating a connection

The connector supports the following authentication types:

DefaultParameters for creating connection.All regionsNot shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

NameTypeDescriptionRequired
API KeysecurestringThe API Key for this apiTrue

Throttling Limits

NameCallsRenewal Period
API calls per connection10060 seconds

Actions

Add Document(s) For TranslationAdd document(s) to your translation project. You can only add a new document to a project that you haven't yet launched.
Download TranslationsDownload translated documents as a ZIP archive from your MotaWord project
Get project detailsGet your project details, including quote price and word count. You can also use this endpoint to get your latest price and word count after uploading new source documents or changing language pairs.
Initialize Translation ProjectInitialize a new translation project at MotaWord. You can later add document(s) to it, and then launch it.
Launch Translation ProjectLaunch your existing project (quote) for translation, we'll get to it right away. Remember to add your documents to a project before you launch it. Once launched, you can also track your translation progress in real-time on our web and mobile platforms.

Add Document(s) For Translation

Operation ID: AddDocumentsForTranslation
Add document(s) to your translation project. You can only add a new document to a project that you haven't yet launched.

Parameters

NameKeyRequiredTypeDescription
Project ID that you want to add documents to.projectIDTruestringProject ID that you want to add documents to. This project is typically initialized via InitializeTranslationProject action earlier in the workflow.
File namenameTruestringThis is the name of the file that you want translated. MotaWord platform will only know your file by this name.
File contentdataTruebyteBase64 encoded content of the file you want translated.

Returns

NamePathTypeDescription
documentsdocumentsarray of objectList of documents that you have just uploaded. Only returns newly uploaded files, not all of the files in your project.
iddocuments.idintegerMotaWord ID for the document you just uploaded.
namedocuments.namestringDocument name
uploaded_atdocuments.uploaded_atintegerUnix timestamp for when this document was uploaded.
word_countdocuments.word_countintegerNumber of words in the document to be translated. This is the amount we charge you for.

Download Translations

Operation ID: DownloadTranslations
Download translated documents as a ZIP archive from your MotaWord project

Parameters

NameKeyRequiredTypeDescription
Project ID that you want to download translations of.projectIdTrueintegerProject ID that you want to download translations of.
For the most fresh package, choose 0/false/no.asyncintegerWhen you download your translations, we recompile them and give you a fresh package. We can do this in the background or foreground. In most cases of integration as a connector, this should be async = 0.

Returns

response: binary

Get project details

Operation ID: GetProjectDetails
Get your project details, including quote price and word count. You can also use this endpoint to get your latest price and word count after uploading new source documents or changing language pairs.

Parameters

NameKeyRequiredTypeDescription
Project IDprojectIdTrueintegerProject ID for.

Returns

NamePathTypeDescription
ididintegerProject ID. This is the ID that other actions usually make use of, such as downloading translations from a MotaWord project.
source_languagesource_languagestringSource language code of your project. Language codes are available here: http://api.motaword.com/languages
target_languagestarget_languagesarray of stringTarget language codes of your project. Language codes are available here: http://api.motaword.com/languages
word_countword_countintegerTotal word count of your files in this project. We base our quotes on the number of words you are ordering for translation.
amountprice.amountfloatMonetary quote amount. Make sure to use currency field as well.
currencyprice.currencystringCurrency of your translation quote.
usd_amountprice.usd_amountfloatIf the currency is different than USD, then this field can tell you its USD equivelant.
amountprice_without_discount.amountfloatMonetary quote amount. Make sure to use currency field as well.
currencyprice_without_discount.currencystringCurrency of your translation quote.
usd_amountprice_without_discount.usd_amountfloatIf the currency is different than USD, then this field can tell you its USD equivelant.
statusstatusstringProject status.
delivery_atdelivery_atintegerUnix timestamp for project deadline we provide to you.
completed_oncompleted_onstringIf the project has been completed, this will tell you when it was completed. Unix timestamp.
valid_untilvalid_untilintegerYour projects are available for 30 days before you launch them. Once your quote expires after 30 days, you will need to get a new quote.
customcustomstringYou can put any custom key-value pair here and we will always accompany project entities with this custom metadata. This is a useful field to improve your workflows with custom data/tracking exchange with MotaWord.
callback_urlcallback_urlstringCallback URL is used to update your flows with MotaWord project status changes. This URL is typically generated from a 'HTTP Request Trigger' connector. You can also use our native Trigger for webhook and status change tracking purposes.
created_atcreated_atintegerUnix timestamp for when this project was first submitted.

Initialize Translation Project

Operation ID: InitializeTranslationProject
Initialize a new translation project at MotaWord. You can later add document(s) to it, and then launch it.

Parameters

NameKeyRequiredTypeDescription
File namenameTruestringThis is the name of the file that you want translated. MotaWord platform will only know your file by this name.
File contentdataTruebyteBase64 encoded content of the file you want translated.
Callback Webhook URLcallback_urlstringCallback URL is used to update your flows with MotaWord project status changes.
Source Language Codesource_languageTruestringSource language code of the file(s) that you are sending for translation. Language codes are available here: http://api.motaword.com/languages
target_languagestarget_languagesTruearray of string

Returns

NamePathTypeDescription
ididintegerProject ID. This is the ID that other actions usually make use of, such as downloading translations from a MotaWord project.
source_languagesource_languagestringSource language code of your project. Language codes are available here: http://api.motaword.com/languages
target_languagestarget_languagesarray of stringTarget language codes of your project. Language codes are available here: http://api.motaword.com/languages
word_countword_countintegerTotal word count of your files in this project. We base our quotes on the number of words you are ordering for translation.
amountprice.amountfloatMonetary quote amount. Make sure to use currency field as well.
currencyprice.currencystringCurrency of your translation quote.
usd_amountprice.usd_amountfloatIf the currency is different than USD, then this field can tell you its USD equivelant.
amountprice_without_discount.amountfloatMonetary quote amount. Make sure to use currency field as well.
currencyprice_without_discount.currencystringCurrency of your translation quote.
usd_amountprice_without_discount.usd_amountfloatIf the currency is different than USD, then this field can tell you its USD equivelant.
statusstatusstringProject status.
delivery_atdelivery_atintegerUnix timestamp for project deadline we provide to you.
completed_oncompleted_onstringIf the project has been completed, this will tell you when it was completed. Unix timestamp.
valid_untilvalid_untilintegerYour projects are available for 30 days before you launch them. Once your quote expires after 30 days, you will need to get a new quote.
customcustomstringYou can put any custom key-value pair here and we will always accompany project entities with this custom metadata. This is a useful field to improve your workflows with custom data/tracking exchange with MotaWord.
callback_urlcallback_urlstringCallback URL is used to update your flows with MotaWord project status changes. This URL is typically generated from a 'HTTP Request Trigger' connector. You can also use our native Trigger for webhook and status change tracking purposes.
created_atcreated_atintegerUnix timestamp for when this project was first submitted.

Launch Translation Project

Operation ID: LaunchTranslationProject
Launch your existing project (quote) for translation, we'll get to it right away. Remember to add your documents to a project before you launch it. Once launched, you can also track your translation progress in real-time on our web and mobile platforms.

Parameters

NameKeyRequiredTypeDescription
Project ID that you want to launch.projectIDTruestringProject ID that you want to launch.

Returns

NamePathTypeDescription
statusstatusstringLaunch operation status.

Triggers

NameDescription
When Translation Project CompletedTriggered when your translation project is completed. Register project status webhook here.

When Translation Project Completed

Operation ID: WhenTranslationProjectCompleted
Triggered when your translation project is completed. Register project status webhook here.

Parameters

NameKeyRequiredTypeDescription
Project ID that you want to register webhooks for.projectIdTrueintegerProject ID that you want to register webhooks for.

Returns

NamePathTypeDescription
typetypestringtype
actionactionstringaction
idproject.idintegerid
source_languageproject.source_languagestringsource_language
target_languagesproject.target_languagesarray of stringtarget_languages
word_countproject.word_countintegerword_count
amountproject.price.amountfloatamount
currencyproject.price.currencystringcurrency
usd_amountproject.price.usd_amountfloatusd_amount
amountproject.price_without_discount.amountfloatamount
currencyproject.price_without_discount.currencystringcurrency
usd_amountproject.price_without_discount.usd_amountfloatusd_amount
statusproject.statusstringstatus
delivery_atproject.delivery_atintegerdelivery_at
completed_onproject.completed_onstringcompleted_on
subjectsproject.subjectsarray ofsubjects
budget_codeproject.budget_codestringbudget_code
tms_nameproject.tms_namestringtms_name
is_manualproject.is_manualbooleanis_manual
sourceproject.sourcestringsource
customproject.customstringcustom
callback_urlproject.callback_urlstringcallback_url
created_atproject.created_atintegercreated_at
hrefproject.links.self.hrefstringhref
hrefproject.links.documents.hrefstringhref
hrefproject.links.glossaries.hrefstringhref
hrefproject.links.styleguides.hrefstringhref
hrefproject.links.webhooks.hrefstringhref
hrefproject.links.invoice.hrefstringhref
hrefproject.links.activities.hrefstringhref
hrefproject.links.comments.hrefstringhref
hrefproject.links.progress.hrefstringhref
hrefproject.links.package.hrefstringhref
hrefproject.links.download.hrefstringhref