> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DialNexa Integration Functions

> Understand DialNexa integration functions for Wati, Resend, workflow actions, agent actions, invocation payloads, missing fields, provider messages, errors, and latency.

DialNexa integration functions are catalog actions that can run from workflows or eligible agent tools. Each execution stores provider, adapter, action, source context, redacted payloads, missing fields, provider message id, error details, and latency.

<img src="https://mintcdn.com/dialnexa/0efoAN-6So4r-6NC/images/documentation/screenshots/integration-supported-functions-modal.png?fit=max&auto=format&n=0efoAN-6So4r-6NC&q=85&s=02e834179f9eee7d9cb9c4e45b7a51d2" alt="DialNexa Google Calendar Supported Functions modal showing function search and available actions such as Create Event and Find free slots." style={{ width: '100%', maxWidth: '1100px', margin: '8px 0 24px', border: '1px solid #e5e7eb', borderRadius: '6px' }} width="2568" height="1682" data-path="images/documentation/screenshots/integration-supported-functions-modal.png" />

<Tip>
  Integration invocation data is where vague action failures become specific enough to fix.
</Tip>

## Function Types Users Will See

| Provider | Function type                              | Typical inputs                                                         | Typical result                                   |
| -------- | ------------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------------------ |
| Wati     | Send WhatsApp session or template message. | Phone number, message body, template name, parameters, broadcast name. | Message accepted or provider error with details. |
| Resend   | Send email.                                | From email, to email, subject, text body.                              | Email accepted or provider error with details.   |

## Invocation Evidence

| Field                                 | Meaning                                                        |
| ------------------------------------- | -------------------------------------------------------------- |
| `source_type`                         | Where the action came from, such as workflow or agent context. |
| `source_ref_id`                       | Id of the source that triggered the action.                    |
| `workflow_id` and `workflow_lead_id`  | Workflow context for Application node actions.                 |
| `agent_id` and `agent_version_number` | Agent context when the action is tied to a caller.             |
| `call_log_id`                         | Call context when available.                                   |
| `request_payload_redacted`            | Input sent to the provider with sensitive values removed.      |
| `response_payload_redacted`           | Provider response with sensitive values removed.               |
| `missing_fields`                      | Required fields that were not available.                       |
| `provider_message_id`                 | Provider-side message id when returned.                        |
| `error_code` and `error_message`      | Provider or adapter failure details.                           |
| `latency_ms`                          | How long the action took.                                      |

## Use Invocation Data To Decide The Fix

<CardGroup cols={2}>
  <Card title="Missing fields" icon="braces" href="/workflows/lead-variables-and-call-attributes">
    Fix variable mapping, call attribute extraction, or static config.
  </Card>

  <Card title="Credential failure" icon="key" href="/dashboard-integrations/connecting-integrations">
    Reconnect or validate the provider connection.
  </Card>

  <Card title="Provider error" icon="alert-triangle" href="/reference/troubleshooting">
    Check provider rules, template approval, sender identity, or rate limits.
  </Card>

  <Card title="High latency" icon="timer" href="/voice-ai/latency-turn-taking-and-interruptions">
    Move the action later in the flow, add failure handling, or avoid blocking live speech.
  </Card>
</CardGroup>

## Function Design Rules

<Steps>
  <Step title="Name the business action">
    Use the action that matches the desired outcome, not the closest-looking logo.
  </Step>

  <Step title="Map every required input">
    Required fields should come from lead variables, call attributes, dynamic variables, or static configuration.
  </Step>

  <Step title="Plan the failure path">
    Provider errors, missing fields, and rate limits should have a clear workflow path.
  </Step>

  <Step title="Review one invocation">
    Before scaling, inspect the redacted request, response, latency, and message id.
  </Step>
</Steps>

## Integration Function Questions

<AccordionGroup>
  <Accordion title="Why is payload redacted?">
    Sensitive values should not be exposed in routine debugging views. Redaction lets teams debug structure without exposing secrets.
  </Accordion>

  <Accordion title="Why did the success route not run?">
    Check invocation status, missing fields, provider response, and whether the node output is wired to success.
  </Accordion>

  <Accordion title="Can an agent call these actions during a live call?">
    Only expose an action when it has a clear caller-facing purpose and the agent function description explains exactly when to call it.
  </Accordion>

  <Accordion title="Why does latency matter?">
    If an action blocks a live response, slow provider latency becomes awkward caller silence. Place slow actions after the call when possible.
  </Accordion>
</AccordionGroup>

## Related Reading

<CardGroup cols={2}>
  <Card title="Using Integrations In Agents" icon="settings" href="/dashboard-integrations/using-integrations-in-agents">
    Expose actions to agents.
  </Card>

  <Card title="Using Integrations In Workflows" icon="workflow" href="/dashboard-integrations/using-integrations-in-workflows">
    Run actions in Application nodes.
  </Card>

  <Card title="WhatsApp With Wati" icon="message-circle" href="/dashboard-integrations/whatsapp-with-wati">
    Send WhatsApp messages.
  </Card>

  <Card title="Email With Resend" icon="mail" href="/dashboard-integrations/email-with-resend">
    Send email messages.
  </Card>
</CardGroup>
