Como criar uma tarefa ou caso no Salesforce em vez de um evento
Por padrão, o fluxo do Salesforce da Calendly cria um evento quando alguém agenda uma reunião. Mas você pode alterar isso para também criar uma tarefa ou caso.
Siga estas etapas para personalizar seu fluxo no Salesforce.
Crie uma tarefa ou caso no Salesforce
Step 1 – Open your flow
- In Salesforce Setup, search for Flows.
- Select Flows from the results.
- If you haven’t edited the CreateEventTemplate before:
- Open the CreateEventTemplate.
- Customize it as needed.
- Select Save As, and give it a name like CreateEvent.
- If you’ve already made changes to the template, open your existing flow.
Step 2 – Add a task or case element
- In the Toolbox on the left, go to Data.
- Drag a Create Records element into the flow. Drop it to the right of the Create Records: Create Event element.
- At Label, type Create Task or Create Case.
- For How to Set the Record Fields, select Use separate resources and literal values.
- At Create a Record of This Object, under Object, enter Task or Case.
- At Set Field Values for the Task, set the field values:
- At Field, enter Subject
- At Value, select Calendly__CalendlyAction__c, then select Event Subject.
- Select + Add Field
- At Value, select WhatID, then select the value WhatRecordID
- Select + Add Field
- At Value, select WhoID, then select the value WhoRecordID
- Check the box for Manually assign variables.
- For Store Task ID in Variable, choose WhoRecordId.
- Select Done.
Step 3 – Connect the steps
- Connect the Create Records: Create Event element to the new Create Task (or Create Case) element.
Step 4 – Save and activate the flow
- Select Save.
- Select Save As to create your new version.
- Select Activate to turn on the new flow.
- Deactivate the CreateEventTemplate flow so it doesn’t run at the same time.
Artigos relacionados
Como criar um contato, oportunidade ou outro registro de objeto em vez de um lead no Salesforce
Como categorizar automaticamente eventos do Calendly no Salesforce
Como sincronizar convidados e coanfitriões adicionais de reuniões com o Salesforce
Como excluir um registro de evento no Salesforce quando um evento do Calendly é cancelado ou remarcado