Power Automate: How to get the message ID to forward an email using 'Forward an email(V2)'? - power-automate

I have been trying to automate the process of forwarding an email(with teams meeting link) using Power automate.
I have attached how my flow looks currently.
User submits the form with an email address
The flow retrieves the email address
Gets the events from the calendar
Filters to get a specific series
Forwards the email
I am struggling with steps 4 and 5 to get the specific message ID for the teams meeting.
I would really appreciate it if someone could let me know of a way.
The overall flow
The expanded 4th and 5th steps:
(https://i.stack.imgur.com/DzQ6k.png)
I tried to just copy the meeting id you will get from the Microsoft teams calendar but it didn't work.
This is how my forward section looks like:

The Second Filter Array under Apply to each 3 appears from this view to be filtering to the point there are no matches. Because that appears to be the email ID and not the meeting ID. Have you considered using a Condition instead? Then you can add the Meeting ID into the body of the email in your last step.

Related

Google Reports API for Meet attendance - strange conference_id

I'm trying to query attendance for a Google Meet conference created via Google Calendars API.
I've found that the conferenceId returned by Calendar API > Events > insert it's different from the one I can use to filter in Reports API.
conferenceId from Calendar API --> ["conferenceId"]=>string(12) "xxx-xxxx-xxx"
conferenceId from Reports API{"name": "conference_id", "value": "xxxxxxx_12234XXXXXxxxxXX56"}
Does anyone knows why?
How can I query attendance based on the data returned by Calendar API > Events > insert ?
Steps to reprocuduce:
Insert calendar events (be sure to add conferenceData structure to create also the Meet conference):
https://developers.google.com/calendar/api/v3/reference/events/insert
Use the conference
List activities from Report API and check the conference_id: https://developers.google.com/admin-sdk/reports/reference/rest/v1/activities/list
It seems that the conferenceId from the Calendar event object is different from the conference_id in the Reports (note that the name is different). The activities.list output also has another field called meeting_code, it's also under items.events.parameters:
{
"name": "meeting_code",
"value": "ASDFASFFGJ"
}
This one matches the conferenceId in a calendar event, except that it's without dashes and capitalized, so for the example "conferenceId": "asd-fasf-fgj" in a Calendar Event object you'll find "meeting_code": "ASDFASFFGJ" in the activity reports. So you can just remove the dashes and capitalize the conferenceId to match it to its corresponding meeting_code.
As to why this discrepancy exists, my guess after reading the definition of the Meet activity events is that it tracks different "conference sessions" within the same meeting code. For example, if you join the meeting asd-fasf-fgj it will create a new conference_id until everyone leaves the meeting. Then if the same meeting code is used again a different conference_id will be created to track the new session and so on.
I did some cursory testing and the logs do create a different conference_id every time I joined the same Meeting code. I didn't have multiple accounts to test so I'm not sure if two users can have matching IDs, but I may be close. I couldn't find any in-depth documentation so it would require more testing to figure out exactly how it works.
Either way, to address your immediate concern, you should be able to match the Event's conferenceId with the Report's meeting_code to track the attendance.
Reference:
Meet Activity log definition

How to programmatically set the subject (title) of an Outlook 365 meeting from user data entered at runtime

Background
Our Training team uses an Excel worksheet to track our online training, listing the date, customer, topic, type of training, type of meeting (Teams live event or Teams meeting), presenter, and moderator. In addition to the information in the worksheet, we create an Outlook 365 meeting for each workshop. The subject (title) of the Outlook meeting takes this format: {Customer} {Topic} {Event Type} {Meeting Type} {Start}.
Goals
Replace the Excel worksheet with an Outlook 365 view in table
layout, eliminating a time-consuming and redundant step in our process.
Minimize data entry.
Do 1 and 2 in such a way that I can distribute the solution to our Training team without involving a request to systems admins or requiring our team to do any heavy lifting code- or configuration-wise.
Problem
I've tried two methods and am getting stuck at the same spot: I can't figure out how to set the meeting request subject equal to the information entered by the user.
Progress
Method 1: Outlook form or template
I modified P.2 in an appointment request in Outlook 365 to be a data entry form for the custom fields Customer, Topic, EventType, MeetingType, Presenter, and Moderator. Another custom field, TrainingEvent, is a read-only Boolean set to Yes when the appointment is created. I use this field to filter non-training events out of the new calendar view. Another custom field, EventID, has an initial value that concatenates the other fields in the order we need for the meeting subject. I saved the modified request as both a form and an Outlook template to test each method.
Both work fine, right up to the point of setting the actual meeting subject equal to the EventID. That is, when I submit the request the meeting is created and all the fields are populated with what I entered. The subject remains empty. I can't find any guidance, using VBA or otherwise, on how to populate the subject based on user entry at runtime.
Method 2: Microsoft Forms + Automate
So I tried another way: I created a form in Microsoft Forms to collect the same data, then ran it through Microsoft Automate modifying an existing template that creates an Outlook 365 event when a form is submitted. Same result: The event is created with all my entered data, but the subject remains empty.
Obviously, I could just ask our team to enter all the separate fields and also the subject, but that defeats goal #2.
What am I missing? This feels like it should be such an easy problem to solve.
I found the answer. I added the Subject field to my custom P.2 (data entry form). In the field properties on the Value tab, I changed "Property to use" from Value to Text and set the initial value to the concatenated field EventID. Voila!

Pass a unique ID to Square and get that ID back on response

I am working in iOS / Objective C. I am building a JSON string and just using that to open square-commerce-v1://payment/create?data=JSON which opens the app. I can process payment and sent back to my app.
But I have a disconnect. How does my app know what transaction goes with whatever item?
For example: I rent cars. I have several cars in my inventory. I select "Car 4" and bring up the payment screen. Let the use pay and go back.
How can I send an id to square and then back to the app saying, that the payment was for "Car 4"?
You should look into notes if you want the itemization to be visible in your Square Dashboard. From Squares API documentation:
This note is included in the itemizations field of Payment objects
returned by the List Payments and Retrieve Payment endpoints.
If you are looking to do item and inventory management, or pull prices from an item, you'll need to use the Square Item APIs.

Mailchimp 3.0 - Create campaign with interests - wrong number of selected members

I created a new campaign using interests. Creation is ok but when checking the campaign on Mailchimp, the number of selected members is 0 (but this is wrong). If I open the recipients tab and go back to the confirm tab (without modifying anything in recipients), then the number of selected members is correct and campaign can be sent.
Is there something special to be done to get the right number of selected members?
Thx in advance!
Edit: I am using 2 different interests group for this campaign. If I only use one, it's working.
Is the number of selected members only wrong via API call result? Or is it also incorrect on the Mailchimp dashboard?

Tell a friend - importing contacts - UI(X) design

I am designing a tell a friend tool for our website and I am stuck.
The script is allowing the user to import his own contacts and to mass send an invitation.
For some (SPAM and quota) reasons we do allow sending max of 30 invitation per hour.
Adding contacts one by one is not a problem, we let user know, that more than 30 contacts are not permitted....
but importing contacts is tricky... most users do have 100+, some even 1.000+ contacts. How do I present this? Do I import only first 30 contacts? the problem is I do have just email and a name for a contact, so the only filter I can offer a user is by first letter
edit:
Ok, sorry I was not clear with the image, here is the translated version. the fields are not for filtering or searchig but for adding contacts manually....
If I would have had search filters/inputs ...it would be bad. I don't wan't to loose user's interest... a user should be able to send as many invitations as possible with few clicks...making him work for each contact would be bad....
Right now I am thinking of solving the problem as shown on the second image... by giving the user the option to import a list of contacts by "page" (first 30, second 30, etc...)...all the contacts are "checked" (becoem recipients) when imported... and the user is given the option to remove anyone from the list if wanted... rather than check one by one in.
have better ideas?
I believe you should have one input field and the search should be done on name and email both and first few records should be fetched. Once a user is selected that should remain fixed and search should be continued for remaining contacts.

Resources