![]() In the navigation pane, choose Campaigns, and then choose Create a campaign.ħ. Confirm that the Segment estimate section shows that there is one eligible endpoint, and then choose Create segment.Ħ. For Choose an endpoint attribute, choose integrations, then for values, choose WhatsApp.ĥ. Name the segment “WhatsAppTest.” Under Segment group 1, on the Add a filter menu, choose Filter by endpoint.Ĥ. In the navigation pane, choose Segments, and then choose Create a segment.ģ. Open the Amazon Pinpoint console at, and then choose the project that you created in step 1.Ģ. By sending a campaign, we can verify that our Amazon Pinpoint project is configured correctly, and that we created the endpoint correctly.ġ. Now that we have an endpoint, we must add it to a segment so that we can use it within a campaign. source-arn arn:aws:mobiletargeting:us-east-1::apps/* Step 4: Create a segment and campaign in Amazon Pinpoint. Add permissions to your AWS Lambda to allow Amazon Pinpoint to invoke it: Add environment variables for your Twilio Account SID, Auth token, and From Number that you acquired from the prerequisite steps.Ĩ. Return "WhatsApp messages sent successfully"ħ. To create an endpoint using AWS CLI, at the command line, enter the following command:Īws pinpoint update-endpoint -application-id \ In this step, we create an SMS endpoint that is used to send a WhatsApp message. Endpoints can also contain custom attributes, and you can associate multiple endpoints with a single user. This could be their email address (for email messages) or their phone number (for SMS messages) or a custom endpoint type. In Amazon Pinpoint, an endpoint represents a specific method of contacting a customer. In the Project details section, copy the value under Project ID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |