-
Notifications
You must be signed in to change notification settings - Fork 9
Configure Integration Builder flow to update subscriptions in Mulesoft and send email notifications to subscribers
georgiana-caras edited this page Jun 15, 2020
·
14 revisions
This flow will receive the Approve or Reject requests from MS Teams, and based on the action will create a subscription or remove a subscription in Mulesoft. On approved requests the flow will send an email notification to the subscriber with the keys to authenticate the API calls.
This wiki page will describe how to import and configure the Integration Builder flow template provided by Axway, to manage subscriptions in Mulesoft and send email notifications to subscribers.
Pre-requisites
- Free trial account on AMPLIFY Platform
- Active trial subscription for Application Integration on the AMPLIFY Platform
- Subscription to Mulesoft Anypoint Exchange.
- API Builder service to generate an access token. Please refer to Configure TokenProvider service in API Builder.
- Download the Integration Builder flow MuleSoft Registration Flow.json from this repo.
- Navigate to Integration Builder on the AMPLIFY Platform.
- Import the flow as a Flow template.
- Go to
Flows
, click onBuild new flow template
. - Select
Import
and choose the flow that you downloaded in the previous step. - Provide a
Name
and click on `Create' to save your flow template.
- Go to
- Configure a flow instance to send email notifications to Outlook.
- From
Connectors
, search forOutlook Email
connector in the search box. - Select the
Outlook Email
connector and clickAuthenticate
. - Provide a
Name
and click onCreate instance
. You will be redirected to authenticate with your Outlook credentials. - Go to
Instances
and look for the connector instance that you just created.
- From
- Create a flow instance to replace the Value variables in the template with specific values to connect to your Mulesoft environment and AMPLIFY platform tenant.
- Navigate to
Flows
, select your flow template and click `Create Instance'. - Provide a
Name
for the instance. - Select the
outlookEmail
connector instance that you created at Step 4. - Provide values for all required Variables:
-
apiCentralTokenCredentials
: The apikey from default.js file in theAPI Builder tokenProvider
service. Please refer to Configure TokenProvider service in API Builder. -
apiCentralTokenUrl
: The ENDPOINT URL of theAPI Builder tokenProvider
service. Please refer to Configure TokenProvider service in API Builder. -
muleSoftOrgID
: The organization id of your Mulesoft Anypoint account. -
muleSoftUserName
: The username for your Mulesoft Anypoint account. -
muleSoftPassword
:The password for your Mulesfot Anypoint account. -
apiCentralUrl
: The link to your AMPLIFY Central environment. For production use https://apicentral.axway.com/. -
platformUrl
: Set the url to your AMPLIFY platform account. For production use: https://platform.axway.com/.
-